Reputation: 3
I am working with DataTable and TableTools plugins with jQuery.
I am trying to simulate a keyPress (or keyUp), when someone clicks a link in the page.
html code :
<a href='#' id='return'>رجوع</a>
jQuery code :
$('#return').click(function() {
e.preventDefault();
$(this).trigger(// code here // );
});
I can't find the code to put there.
Upvotes: 0
Views: 1089