Answers for "jquery first element with classes"

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 "jquery first element with classes"

Code answers related to "Javascript"

Browse Popular Code Answers by Language