How to submit a form OnKeyPress with Javascript?

Posted by Zoltan Repas on Stack Overflow See other posts from Stack Overflow or by Zoltan Repas
Published on 2010-04-10T20:28:52Z Indexed on 2010/04/10 20:33 UTC
Read the original article Hit count: 524

Filed under:
|
|
|
|

Hi!

I want to make a form like this, and i want to post the form - with javascript - in all the keydowns.

<form action="{$formaction}" enctype="multipart/form-data" method="post">
<input type="text" name="n">
<input type="password" name="pw">
<button name="in" type="submit">enter</button>
</form>

please tell me how to do this.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about onkeydown