Quoting Webmaster <[EMAIL PROTECTED]>:
My concern is that the Enter key is also the default key to submit forms. An onKeypress event could be trigger by most any other key, preferably the spacebar. Although, as we know, this key also has the function of making selections in radio groups and select boxes.
Ah...d'oh! I was just thinking about links. You're right, if you have, say, onclick on an input, then you should filter out Enter (or, even better, check for it in the handler and, if pressed, submit the form programmatically). Having said that, it would probably be best not to have onclick on inputs in the first place, and opting for onfocus instead. Depends on the situation, I guess... Thanks for clarifying, I thought I had missed an episode there ;) -- Patrick H. Lauke __________________________________________________________ re·dux (adj.): brought back; returned. used postpositively [latin : re-, re- + dux, leader; see duke.] www.splintered.co.uk | www.photographia.co.uk http://redux.deviantart.com __________________________________________________________ Web Standards Project (WaSP) Accessibility Task Force http://webstandards.org/ __________________________________________________________ ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
