jquery get first child element by class 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" );