visit next page with jQuery
<p>I want to go next by clicking Next button (right arrow >) from keyboard.
How can I do that?
I found a solution, but failed before succeeding 100%.</p>

<pre><code>&lt;html&gt;

    &lt;head&gt;
        &lt;script src="jquery-1.4.2.js"&gt;&lt;/script&gt;
        &lt;script src="jquery.hotkeys.js"&gt;&lt;/script&gt;
        &lt;script&gt;
            //This page is a result of an autogenerated content made by running test.html with firefox.
            function domo() {
                jQuery(document).bind('keydown', 'right', function (evt) {
                    location.href = $('#previous_page_link').href;
                    //window.location.href = 'http://www.google.com';
                });
            }
            jQuery(document).ready(domo);
        &lt;/script&gt;
    &lt;/head&gt;

    &lt;body&gt;
        &lt;a id="previous_page_link" href="http://www.google.com"&gt;Google&lt;/a&gt;
        &lt;a id="next_page_link" href="http://www.yahoo.com"&gt;Yahoo&lt;/a&gt;
    &lt;/body&gt;

&lt;/html&gt;
</code></pre>

<p><a href="https://github.com/jeresig/jquery.hotkeys" rel="nofollow">https://github.com/jeresig/jquery.hotkeys</a></p>
