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