Answers for "firstElementChild jquery equivalent"

0

firstElementChild jquery equivalent

$('#myList > li:first-child');
// or
$('#myList').children('li:first-child');
// or
$('#myList > li').first();
// or
$('#myList').children().first();
// and so on
Posted by: Guest on August-06-2020

Code answers related to "firstElementChild jquery equivalent"

Code answers related to "Javascript"

Browse Popular Code Answers by Language