I have the following code:
<p onclick="jQuery('#file').click()">Select a file</p>
<input type="file" id="file" name="file" />
When the user clicks on "Select a file", it's also supposed to open the file browser like when you press on the "Browse" button generated by <input type="file" />, where the user can select a file.
It works fine in Chrome and IE7. How do I make it work in Firefox?