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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2007
    Location
    Griffith. Australia
    Posts
    138
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Drag & Drop File Upload

    I know that there are a fair few AJAX file upload components floating around out there which allow a user to select multiple files to upload to the server and to upload them at once by pressing a button or clicking a link. What I am wanting to do is set it up so that I can drag one of my files from my documents folder into a specified div on the page and it adds the file for upload and begins uploading it immediately using the async upload service of AJAX. Does anyone know how I would go about doing this.

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    short of writing ur own activex component (which is IE only) there is nothing that u can do
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #3
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,444
    Thanks
    11
    Thanked 598 Times in 578 Posts
    there is a drag and drop firefox extention.

    also, you cannot use a div, it has to be a file input tag.
    but don't forget about CSS opacity and z-index (hint hint)
    my site (updated 2014/10/20)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.3, IE11:9.2, IE9:2.7, IE10:2.6, FF:16.8, CH:47.5, SF:7.8, NON-MOUSE:37%


  •  

    Posting Permissions

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