Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js onclick

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