Rank: Newbie Groups: Member
Joined: 3/8/2008 Posts: 1
|
Hello,
Is there JavaScript function or property to find out how many files are trying to upload?
var uploader = eo_GetObject("AJAXSurgicalGuideUploaderObject"); var numberOfFilesSelected = uploader.?????;
Thanks,
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, Yes. You can use this function: http://www.essentialobjects.com/doc/1/jsdoc.public.ajaxuploader.gettotalfilecount.aspxNote that this function will only return a value while the upload is in progress. For example, if you set the uploader's Rows property to 4, and then choose 3 files to upload, then this function should return 3. After the upload is done, the function will return null. Thanks!
|