change event doesn't work on dynamically generated elements .
$( "#dataTable tbody" ).on( "click", "tr",
function() {
console.log( $( this ).text() );
});
Are there any code examples left?
New code examples in category TypeScript
$( "#dataTable tbody" ).on( "click", "tr",
function() {
console.log( $( this ).text() );
});