get a classname with the first element jquery code example
Example: select the first elemnt have class in jquery
<script>
// jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>
<script>
// jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>