December 2013
Intermediate to advanced
384 pages
9h 54m
English
$("div").children("p"); //selects the <p> elements that are direct children //of <div> elements
The .children([selector]) method returns a jQuery object representing the children of the elements represented by the current object. You can specify an optional selector that limits the results to only include children that match the selector.
Read now
Unlock full access