How can I submit a web form by clicking keyboard button?
<pre><code>&lt;form action="page.php" method="post"&gt;
    &lt;input type="text" name="some_text" /&gt;
    &lt;input type="submit" name="some_submit" /
&lt;/form&gt;
</code></pre>

<p>I want to submit this form by pressing defined keyboard button. I wonder how to do it. If it was just an <code>&lt;a&gt;</code> element it would be simple - I would just change <code>window.location</code> value after handling keypress event. But there is some data to send and I have no idea how to solve this.</p>
