The .on() and .trigger() methods can set an event handler or generate an event for any event type, code example
Example: jquery addeventlistener
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});