Answers for "select the first elemnt have class in jquery"

1

select the first elemnt have class in jquery

$( ".box" ).first().css( "font-style", "bold" );
Posted by: Guest on November-01-2020
0

select the first elemnt have class in jquery

<script>
  // jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>
Posted by: Guest on November-01-2020

Code answers related to "select the first elemnt have class in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language