Hi,
For jQuery 1.7+, use
on[
^] instead of
click
:
$('#DataTable tfoot').on('click', 'a', function(e) {
alert('hi');
e.preventDefault();
});
For older versions than 1.7, use
delegate[
^]:
$('#DataTable tfoot').delegate('a', 'click', function(e) {
alert('hi');
e.preventDefault();
});
Hope this helps.