[thelist] Why does this JS code work the way it does???
jason.handby
jason.handby at corestar.co.uk
Tue Dec 12 07:37:58 CST 2006
Hi Anthony,
> Now, here's what I don't understand - why do the backspace
> and delete keys work in the above text input element? They
> should comeback with "false" and not "fire". But they do.
> Why? IE quirk?
Internet Explorer doesn't fire the onkeypress event when you press the
backspace or delete keys.
http://tinyurl.com/dpr2t
I don't know if this is a quirk or a feature :-)
I think you can use onkeydown to trap a wider range of keys.
Jason
More information about the thelist
mailing list