Welcome Guest Search | Active Topics | Sign In | Register

Bringing up the browse-dialog when clicking on an image using AjaxUploader Options
Nisse
Posted: Thursday, November 1, 2007 8:09:05 AM
Rank: Member
Groups: Member

Joined: 10/17/2007
Posts: 13
I am using ajaxuploader to upload images.
I want the user to get a file browse dialog not only when he presses the standard browse button, but also when he clicks on an image (with the text 'click here to add an image')

I have been able to get the brow file dialog by calling AJAXUploader1_f_0.click() . But that does not seem to work when I actually want to upload the images.
eo_support
Posted: Thursday, November 1, 2007 8:17:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
Hi Nisse,

I do not think that is possible. Different browers might have slightly different rules, but as a general principle, browser should not allow any part of the file uploading to be automated, because otherwise it would be possible (or closer to be possible) for web page to automatically fetch files off users computer. Because of this, trying to automate/change the default behaviors related to file uploading almost always ends up fruitless.

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.