Re: Netscape Event Handling (JS)
by "Peter-Paul Koch" <gassinaumasis(at)hotmail.com>
|
Date: |
Mon, 26 Jun 2000 21:26:44 GMT |
To: |
ascensionsoftware(at)btinternet.com, hwg-techniques(at)mail.hwg.org |
|
todo: View
Thread,
Original
|
|
>I am trying to write a JS function that automatically changes the text in a
>textbox
>when you click on it. Works fine in IE, but in NN4 the text box just
>doesn't
>seem to recognise onClick (or onMouseUp, or onMouseDown) and onFocus seems
>to
>trigger constantly while the focus is on the textbox.
Generally form elements in Netscape recognize almost no events. The only
reliable exception is onChange in a select box. You might try onFocus,
though. A quick test showed that it works in my ancient NN4.05.
ppk
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA