Gets the element children of each element in the set of matched elements.
$('#fruits').children().length;//=> 3$('#fruits').children('.pear').text();//=> Pear
The children.
https://api.jquery.com/children/
Optional
If specified filter for children.
Gets the element children of each element in the set of matched elements.
Example
Returns
The children.
See
https://api.jquery.com/children/