Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.on click jquery

1
2
3
$( "#dataTable tbody" ).on( "click", "tr", function() {
  console.log( $( this ).text() );
});
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #click #jquery
ADD COMMENT
Topic
Name
8+2 =