|
...With a twist!
Hey guys, and thanks for looking.
I have a combobox, such as this:
<form>
<select size=10>
<option>
<option>
<option>
<option>
<option>
</select>
<input type=submit>
</form>
I am also using JS to bring focus to this element on page load. My goal is to have keyboard-only based control. Is there anyway I can submit the form when the user presses enter, while the focus is still in the select box.
I understand they can use TAB then press enter, but I'd like to avoid that.
Thanks for all of your help,
Devin
__________________
"Computer games don't affect kids. I mean, if Pacman affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music..."
|