link press using keys in jquery
<p>I have a HTML page with jquery loaded in and 2 links on the page.</p>

<pre><code>&lt;a href='www.example.com'&gt;Buttona&lt;/a&gt;
&lt;a href='www.example2.com'&gt;Buttonb&lt;/a&gt;
</code></pre>

<p>How can I make pressing the "1" key be like pressing the first link, and pressing the "2" key be like pressing the second link using jquery?</p>
