Hello
I have a piece of simple code which take the user inputs and depending
which check box is selected directs them to a different page.
<form name="allform">
<input type="radio" name="allsearch" value="Weaksearch">
<font face="Arial,Helvetica" >Weak </font><br>
<input type="radio" name="allsearch" value="Pinsersearch">
<font face="Arial,Helvetica" >Pinser </font><br>
<input type="radio" name="allsearch" value="Brutesearch">
<font face="Arial,Helvetica">Brute note </font> <br>
<input type="radio" name="allsearch" checked
value="gogsearch">
<font face="Arial,Helvetica">Google</font> <br>
<input type=text name=allsearchtext size=10 maxlength=255>
<input type="button" onClick="locateall(this)" value="Go"
name="button">
</form>
This works but the user needs to hit the go button, if they just hit
return the text field is emptied, I would like if the user hits ENTER,
the search begins.
I believe I can add something similar as
if (window.event.keyCode == 13)
But I am not sure how to incorporate it in the form?
--