jQuery Trigger to click
<p>I'm using jquery hotkeys to bind and run a function when the user taps their right arrow key. When jquery hotkeys detects the right arrow being hit on the keyboard, I want jQuery to click the next pagination link. For some reason this isn't working. I've confirmed pagination works. Also confirmed the selector looks good by getting the below to work with instead of a .trigger, a .remove().</p>

<pre><code>$(document).ready(function() { 

 jQuery(document).bind('keydown', 'right',function (evt){
  $('#header').find('.next_page').trigger('click');
 });

});

&lt;div id="view-header"&gt;
 &lt;a class="next_page" href="/books/?page=2" rel="next"&gt;Next →&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>Any thoughts on this one? Thanks</p>
