element first child jquery code example
Example 1: jquery first child
$('div:first-child')
Example 2: jquery first child
$( "li" ).first().css( "background-color", "red" );
Example 3: select the first elemnt have class in jquery
<script>
// jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>