hi guys,, need ur help....

i facing some problem. at first i thought it was a html problem but my frenz tell me it can be done using javascript.
that y i hope by posting here can help me...

i know <input type=file name=try> will display a textbox wif a "browse"btn tat allow user to select a particular file n return the entire path of the file selected in the textbox.

however, now i want to allow user to select a folder only and return the entire path of the folder.

therefore the output in the textfield should be
c:\my document\abc\
instead of
c:\my document\abc\text.html


can anyone tell me how to do so? i need the answer urgently...