Posts: 101
Location: Dover, Kent (UK)
|
OK, the most obvious is to use a button, to submit a form.
However, I'm using a couple of lists (<select>), but would like them to submit the data without the use of a button. I've got one working, using the code:
<select onChange='submit()'>
which works fine. However, on another list, I'd like to get it so I can type a name in, without it submitting the form, ie type Z, and it scroll to the "Z"'s. So I need to change the "onChange" to something else, but want it to submit the form when I hit the enter key on my keyboard. Is this possible without using a button?
|