Answers for "how to pass data to click function jquery"

6

jquery addeventlistener

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

on click jquery

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

Code answers related to "how to pass data to click function jquery"

Browse Popular Code Answers by Language