Press a button on keydown? (jQuery)
<p>I have this simple code for keydown. At the moment is fading in div1. I am looking for a code which will press a button?. I know I have to add onClick event on the button but I tried couple of ways which didn't gave me any results.</p>

<pre><code>jQuery(document).one('keydown', 'g',function (evt){
$("#Div1").fadeIn();
return false;});
</code></pre>

<p>The button source is: (Which on click it does show's me #Div1 again. I want to add the same for the Div1.):</p>

<pre><code>&lt;ul id="button"&gt;
&lt;li&gt;&lt;a class="btn1" id=btn1 href="#Div1"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>You probably think why would I want that? The reason is that Div1 is a form which on button click makes some animations where on FadeIn it doesn't. 
Thanks alot.</p>
