Answers for ".on method in jquery"

7

/on in jquery

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

on() jquery

$('button').on('click', function() {
  alert('button was clicked!');
});
Posted by: Guest on June-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language