<form action="page.php" method="post">
<input type="text" name="some_text" />
<input type="submit" name="some_submit" /
</form>
I want to submit this form by pressing defined keyboard button. I wonder how to do it. If it was just an <a>
element it would be simple - I would just change window.location
value after handling keypress event. But there is some data to send and I have no idea how to solve this.