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

Q1485 Can you simulate a click on an <input type="file"> button?

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

Q1485 Can you simulate a click on an <input type="file"> button?

In Internet Explorer 4+ the click() event on an input field with type="file" will simulate a click on the Browse... button, as expected.

However, in Netscape 3+ browsers the click() event on this same field will NOT simulate a click on the Browse... button. Instead, it will simulate a click INTO the input's textfield.

The browse... button object is apparently not exposed at all.


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.