[thelist] Default Form Submit Button
.jeff
jeff at members.evolt.org
Sun Aug 5 11:29:29 CDT 2001
michael,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Michael Pemberton
>
> I think the most compatible way of doing this is to
> capture the key press for "enter" and stop the event
> from reaching the browser.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
that would be, by far the *least* compatible solution. one way of capturing
key events in each of ie, nn4, and nn6 -- not to mention there are probably
inconsistencies across platforms. on top of that, scripting doesn't account
for you non-js users. rather than trying to change the way the browser
works, work with it in the way it was designed. your users will appreciate
you for it.
good luck,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list