Answers for "jquery on click option"

46

jquery click function

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

on click jquery

$( "#dataTable tbody tr" ).on( "click", function() {
  console.log( $( this ).text() );
});
Posted by: Guest on May-24-2020

Browse Popular Code Answers by Language