Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Form | Q1466 [ previous next ]

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

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.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.