get the first child of an element jquery code example
Example 1: jquery first child
$('div:first-child')
Example 2: jquery first child
$( "li" ).first().css( "background-color", "red" );
$('div:first-child')
$( "li" ).first().css( "background-color", "red" );