Page 1 of 1
can i get folder's name in javascript?
Posted: Thu Aug 26, 2010 3:06 pm
by activity
I try the getFilenames() function to get the file's name, but the return value only show the name whthout path info. if user select a folder to upload, how can i know which folder they selected?
Re: can i get folder's name in javascript?
Posted: Thu Aug 26, 2010 7:57 pm
by support
Try to installed JSAPI add-on and add:
<PARAM NAME="jsenablepath" VALUE="true">
Callbacks should include full path.
http://www.jfileupload.com/products/tools/index.html
Re: can i get folder's name in javascript?
Posted: Tue Aug 31, 2010 11:45 am
by activity
Thank you for the replay,but it doesn't work. I get the file name still without path!
Re: can i get folder's name in javascript?
Posted: Tue Aug 31, 2010 8:52 pm
by support
For getFilenames() method of within JSTransferTriggered(...) callback?