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,608
    Thanks
    11
    Thanked 619 Times in 599 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)
    Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com


  •  

    Posting Permissions

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