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.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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
|