Forum Moderators: open
This is my first posting in this Forum. So request you to kindly ignore any mistakes I make in the post.
I am testing the <Input Type = "file"> tag in HTML.
My requirement is not to show the Browse button for the File Object (I want to keep the text box and also the Browse button as invisible).
Instead I want to use a Button which will invoke the click() method of the File Object.
The code I have written is
<html>
<form>
<input type="file" name="filebrowse" id="browse" style="visibility: hidden;">
<input type="button" onclick="filebrowse.click();" value="Browse">
</form>
</html>
This code is working fine in IE, but is not working in Netscape. Nothing happens when I click the Button.
I have checked the Javascript console in Netscape but no error is displayed in it.
Request you to kindly help me out with this.
Thanks and Regards
Sashi