Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting a directory name from a form

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
If I use
Code:
<input type=file>
I get an input box with a browse button. On clicking the browse button, a file dialog comes up and I can choose a file. I'd like to do the same for a directory but input doesn't have a feature to pick up directories. Something like
Code:
<input type=dir>
would be nice. Any idea how I can get around this one?
 
Are you trying to use this to allow the user to specify where to save something?

Where to upload someting?

Something different?

-- Jason
"It's Just Ones and Zeros
 
Both. It is a directory where the data files live and the directory where I will upload the result files to. There are too many source files with an equal number of result files so I'd like them to just choose a directory where all the source files live and result files will end up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top