marketingmaggie
Technical User
Does anyone know how to make the enter key action the submission of a form, instead of having to click on the button? My little form is as follows, as I'd thought that adding the reset button would force the submit button to become the default for the enter key. But it doesn't! Just nothing happens when I press the enter key.
<form name="f">
<input type="password" name="pwd1" size="25">
<br>
<input type="button" name="btn1" value="enter" onclick="validate()">
<input type="reset" value="reset" name="B1">
</form>
Many thanks: it's always these simple things which are so hard to find out.
MarketingMaggie
<form name="f">
<input type="password" name="pwd1" size="25">
<br>
<input type="button" name="btn1" value="enter" onclick="validate()">
<input type="reset" value="reset" name="B1">
</form>
Many thanks: it's always these simple things which are so hard to find out.
MarketingMaggie