Home › Forums › JavaScript › jquery select a parent element but not a nested child › Re: jquery select a parent element but not a nested child
March 21, 2010 at 1:42 am
#72667
Participant
Code:
$(document).ready(function() {
$(‘#callout > a’)
});
$(‘#callout > a’)
});
This targets the div with an id of callout without targeting the child