Answers for "jquery on click ta"

6

jquery addeventlistener

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

jquery $(document.on click

$(document).on("click","#test-element",function() {});
Posted by: Guest on May-27-2020

Browse Popular Code Answers by Language