onkeydown problem in Netscape - Totally wird problem with Forms, Texarea and the onkeydown (Posted b
Hi Everybody
Im sitting here with a totally weird Netscape problem.
The situation is as follows:
I have a table with 10 TextAreas and a onkeydown event associated with each one. Now the table is inside a form(post). URL is lakemoon.com/wird.htm
I load it up in EI, everything is fine.
However in Netscape(4+) everything goes totally weird.
None of the events gets fired.
Why??.
One of the problems seems to be the length of the URLs, but it should work no matter what size the URLs are..
Please help me out on this one, I am so close to just give up and kill myself..
Thanks,
Soeren Pedersen
John Pollock posted this at 21:50 — 20th November 1999.
He has: 628 posts
Joined: Mar 1999
I haven't tested these in NS, so I'm not sure on which versions support it. But NS is very picky about capitalization of event handlers while IE is not. Instead of:
onkeydown or onkeyup
Try one of these capitalization options:
onKeydown and onKeyup
or
onKeyDown and onKeyUp
Hopefully, one of those will be right.
------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.