jnroche Posted December 19, 2006 Share Posted December 19, 2006 I want to customize the interface for File Upload process. HTML Object uses the form objects to produce a textbox, a browse button, and an upload image button. But I want to remove the textbox and leave just one button named browse.the javascript code for IE implementation is: function browse() { var fso = new ActiveXObject("Scripting.FileSystemObject"); //codes here...}*this will produce a pop up window for browsing files. *I dont know how to implement this for mozilla compatibility, tried digging from sources but seems hard to reach area... Link to comment Share on other sites More sharing options...
jesh Posted December 19, 2006 Share Posted December 19, 2006 Other than your VBScript/ActiveX stuff there, the only way to browse the local file system is to use the input type="file". There may be, however, a way to hide the text box and just have a button. This article may help:http://www.quirksmode.org/dom/inputfile.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now