Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-24-2009, 06:11 PM   PM User | #1
snoodle
Regular Coder

 
Join Date: May 2007
Location: Manteca, CA
Posts: 219
Thanks: 4
Thanked 0 Times in 0 Posts
snoodle is an unknown quantity at this point
Customize Uploadify

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.
snoodle is offline   Reply With Quote
Old 03-24-2009, 10:09 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
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".
__________________
Fumigator is offline   Reply With Quote
Users who have thanked Fumigator for this post:
snoodle (03-25-2009)
Old 03-25-2009, 12:37 AM   PM User | #3
snoodle
Regular Coder

 
Join Date: May 2007
Location: Manteca, CA
Posts: 219
Thanks: 4
Thanked 0 Times in 0 Posts
snoodle is an unknown quantity at this point
Yeah, you're right. That makes sense. Thanks.
snoodle is offline   Reply With Quote
Old 03-31-2009, 05:00 PM   PM User | #4
snoodle
Regular Coder

 
Join Date: May 2007
Location: Manteca, CA
Posts: 219
Thanks: 4
Thanked 0 Times in 0 Posts
snoodle is an unknown quantity at this point
Oh, yeah. Why didn't I think of that. Perhaps this reply belongs in a different CF section?!?
snoodle is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:50 AM.


Advertisement
Log in to turn off these ads.