ajax geenrated html on chnage is not working in jquery code example
Example: change event doesn't work on dynamically generated elements .
$( "#dataTable tbody" ).on( "click", "tr",
function() {
console.log( $( this ).text() );
});
$( "#dataTable tbody" ).on( "click", "tr",
function() {
console.log( $( this ).text() );
});