Answers for "check for element and then add event in jquery"

6

jquery addeventlistener

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

Code answers related to "check for element and then add event in jquery"

Browse Popular Code Answers by Language