[thelist] Cancelling onKeyDown in Netscape 6

Andrew Clover and at doxdesk.com
Tue Jan 29 13:37:00 CST 2002


Matt Feldman <mfeldman at wwwood.net> wrote:

> I'm trying to stop the typing of text to enforce a maxlength on a
> textarea by returning false to an onKeyDown.  It works fine in IE and
> NN4 but Netscape 6 seems to ignore it.

Have you tried doing the same to onkeypress?

If that doesn't work, you'd have to simply trim the field to length after
each character has been inserted.

--
Andrew Clover
mailto:and at doxdesk.com
http://and.doxdesk.com/



More information about the thelist mailing list