Answers for "jQuery select immediate children"

1

jQuery select immediate children

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

$('div').children('p');
Posted by: Guest on October-01-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language