Answers for "The .on() and .trigger() methods can set an event handler or generate an event for any event type,"

6

jquery addeventlistener

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

Code answers related to "The .on() and .trigger() methods can set an event handler or generate an event for any event type,"

Browse Popular Code Answers by Language