View Full Version : jQuery Customize Uploadify
snoodle
03-24-2009, 06:11 PM
I have replaced my old file upload code with the jquery.Uploadify plug-in. It works great but I'm having trouble making some simple modifications. Does anyone know how I would go about triggering the upload via my own menu or button. I tried $(input_elem).trigger('mouseclick') on the element passed to Uploadify but that doesn't work.
Fumigator
03-24-2009, 10:09 PM
I haven't used Uploadify yet (though I plan to), but what you are describing sounds like it steps over the security line that we aren't allowed to step over. Uploading files from a client machine has to be initiated by the user of that client machine, otherwise (for example) the seedy underbelly of the internet could trigger the upload of sensitive files upon page load. That's why we can't even suggest a default filename in the html input element type="file".
snoodle
03-25-2009, 12:37 AM
Yeah, you're right. That makes sense. Thanks.
snoodle
03-31-2009, 05:00 PM
Oh, yeah. Why didn't I think of that. Perhaps this reply belongs in a different CF section?!?
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.