Jenny
10-15-2003, 10:08 AM
HI, Khalid,
I post this yesterday.
In my web application, it has one input box and one button. My requirement is when user click the button, it should open the file dialog which explores the local machine's directory, and when user pick the directory from the file dialog, the directory location should show in the input box. eg. user select the temp folder which located in C driver, so the string c:\temp should show in input box.
and this your reply:
file location of course has the directry structure as well,just parse the value in the file element to suite your requirement,
My question is :
Do you mean I can use the <input type="file">, then parse the result string showed in the input box? But the problem is if I select the folder, the filedialog box won't close. Could you explain it more detail?
thanks very much for your time.
Jenny
I post this yesterday.
In my web application, it has one input box and one button. My requirement is when user click the button, it should open the file dialog which explores the local machine's directory, and when user pick the directory from the file dialog, the directory location should show in the input box. eg. user select the temp folder which located in C driver, so the string c:\temp should show in input box.
and this your reply:
file location of course has the directry structure as well,just parse the value in the file element to suite your requirement,
My question is :
Do you mean I can use the <input type="file">, then parse the result string showed in the input box? But the problem is if I select the folder, the filedialog box won't close. Could you explain it more detail?
thanks very much for your time.
Jenny