Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1466 Why when using a form input type of "text" is the onClick event handler ignored in Netscape?

You are here: irt.org | FAQ | JavaScript | Form | Q1466 [ previous next ]

It is not expected behavior and Netscape does not support it.

To do it anyway, you can use onFocus :

<input type="text" name="Country" size="50" onFocus="...">

Otherwise you need to capture the mouseup for the document and see if the event target is the field you need to have the mouse react to.

©2018 Martin Webb