Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
francisparker  
#1 Posted : Monday, June 25, 2018 4:58:26 AM(UTC)
francisparker

Rank: Newbie

Groups: Member
Joined: 6/25/2018(UTC)
Posts: 1

Can i exec upload event from an external button?

I only foun after and before upload event.

Thanks

Alex Nikulin  
#2 Posted : Monday, June 25, 2018 8:08:31 PM(UTC)
Alex Nikulin

Rank: Member

Groups: Member
Joined: 4/12/2016(UTC)
Posts: 12

Was thanked: 3 time(s) in 3 post(s)
Hello francisparker,

You can use this example code, "aur" is the id of your uploader instance

Quote:
$("#add-files-btn").click(function(){

$au.imageUploaderFlash("aur").uploadPane().addFiles();

});

$("#start-upload-btn").click(function(){

$au.imageUploaderFlash("aur").upload();

});

Edited by user Monday, June 25, 2018 8:09:58 PM(UTC)  | Reason: Not specified

Users browsing this topic
Similar Topics
Amazon S3 afterUpload event (Discussions – HTML5/Flash Uploader)
by steelhead 1/13/2017 2:20:41 PM(UTC)
BeforeUpload Event removes ImageUploader Control (Discussions – HTML5/Flash Uploader)
by hcaltenco 9/18/2012 2:36:56 AM(UTC)
Call getAdditionalFormName during Before_Upload event? (Discussions – ActiveX/Java Uploader)
by hyperlinked 7/4/2008 3:26:14 PM(UTC)
AfterUpload Event Not Always Firing (java) (Discussions – ActiveX/Java Uploader)
by standev75 5/1/2008 12:39:36 PM(UTC)
AfterUpload event and IE7 (Image Uploader)
by plxkarl 6/22/2007 5:42:44 AM(UTC)
Forum Jump  
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.