that is perfect, just one more question is there a way to tell it where to display. right now it starts at the level that the form is saved in. is there a way to start it at the root?
Do you mean you want to specify which Folder to open up in explorer when a user clicks on the "Browse" button for the File upload form element?
If so, I dont believe this is possible but would like to know if it is. Internet explorer has some file access functions that is availble to javascript (uses ActiveX so requires permission from user) that allows you to build custom file upload boxes i believe. I havent tested this but I've seen it implemented.
For a regular file upload element however, html or javascript cannot access the explorer folders as a security issue. Otherwise you will be able to look into filesystems on remote computers.
The value of the upload form element is read only so you wont be able to set it with JavaScript either.
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
Offline 1,250 posts
since Sep 2005