Answers for "$().click(function)"

54

jquery click function

$( "#target" ).click(function() {
  alert( "Handler for .click() called." );
});
Posted by: Guest on February-24-2020
-1

.on click jquery

1
2
3
$( "#dataTable tbody" ).on( "click", "tr", function() {
  console.log( $( this ).text() );
});
Posted by: Guest on December-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language