Answers for "jquery $on = $(this)"

10

/on in jquery

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

/on in jquery

$('.elementClass').click(function() { // code 
});
Posted by: Guest on March-07-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language