i browsed forums but coudnt get help
i posted this at html forum:
this code is from one of KYank's articlesinput type="submit" name="submitquery" value="Ver (Alt+S)" accesskey="S" />
I want it changed in a way that i can submit the form pressing the enter button. How can i achieve it?
and got this:
enter to submit a form is only default within a text input or password input. you'll need to add an onkeypress event to the window, and check if the keyCode or charCode == 13.
How do i do it?
its a textarea