Welcome Guest Search | Active Topics | Sign In | Register

AjaxUploader JavaScript Number of file to upload Options
Invivo
Posted: Saturday, April 26, 2014 2:33:41 AM
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,
eo_support
Posted: Sunday, April 27, 2014 4:47:06 PM
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.aspx

Note 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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.