select all firsts divs with class jquery code example
Example 1: select the first elemnt have class in jquery
$( ".box" ).first().css( "font-style", "bold" );
Example 2: select the first elemnt have class in jquery
<script>
// jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>