Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jQuery search immediate children

// Use the .children() function, which is like .find(), but only
// searches immediate children.

$('div').children('p');
 
PREVIOUS NEXT
Tagged: #jQuery #search #children
ADD COMMENT
Topic
Name
5+6 =