Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts

    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.

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    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".

  • Users who have thanked Fumigator for this post:

    snoodle (03-25-2009)

  • #3
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Yeah, you're right. That makes sense. Thanks.

  • #4
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Oh, yeah. Why didn't I think of that. Perhaps this reply belongs in a different CF section?!?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •