Rank: Member
Groups: Member
Joined: 11/16/2010(UTC) Posts: 11
|
Hi, I am using the aurigma image uploader 6.0. In that part is used the $imageUploader->addClientBeforeUpload("getAlbum"); function to change the action url during runtime. Code:<script type="text/javascript">
function getAlbum()
{
$.ajax({
type : "POST",
url : g_site_path+"/galleryupload/getactionurl",
data : 'rand='+Math.random(),
dataType : 'html',
success: function(html){
document.getElementById('actionUrl').value = html;
getImageUploader("ImageUploader1").setAction(document.getElementById("actionUrl").value);
}
});
}
</script>
What is the alternate function for the addClientBeforeUpload() in aurigma image uploader 7.0. Also shall i use the above script function to change the action url. If not means how can i change it? Regards, Vimala Edited by moderator Saturday, January 8, 2011 2:07:29 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Quote:I am using the aurigma image uploader 6.0. In that part is used the $imageUploader->addClientBeforeUpload("getAlbum"); function to change the action url during runtime. Please check BeforeUpload event: Code:$imageUploader->getClientEvents()->setBeforeUpload("getAlbum");
|
Best regards, Fedor Skvortsov
|
|
|
|
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.