I want to have a separate button which invokes the "browse" button on an input type=file. In internet explorer the following code works ok, in firefox nothing happens.<br><br>All I do is call click() for the input control.<br><br>Do you know how to make this work in firefox?<br><br>Thanks<br><br><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><br><br><head><br> <title>Test</title><br> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><br> <script type="text/javascript"><br> function test()<br> {<br> var oTest = document.getElementById( "mytest");<br> oTest.click();<br>
}<br> </script><br></head><br><br><body><br><br><form id="myform" action="test.aspx" method="post"><br> <input type="file" id="mytest" value="monkey" /><br> <br /><br> <input type="button" value="Programmatically Invoke The File Browser Dialog" onclick="javascript:test();" /><br></form><br></body><br><br></html><br><p> 
                <hr size=1>
The <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/free_from_isp/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">all-new Yahoo! Mail</a> goes wherever you go - free your email address from your Internet provider.