Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

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 12-01-2007, 12:34 PM   PM User | #1
knightcon
Regular Coder

 
Join Date: Apr 2007
Location: Griffith. Australia
Posts: 138
Thanks: 4
Thanked 4 Times in 4 Posts
knightcon is an unknown quantity at this point
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.
knightcon is offline   Reply With Quote
Old 12-01-2007, 04:32 PM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
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
shyam is offline   Reply With Quote
Old 12-08-2007, 01:51 AM   PM User | #3
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,469
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
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 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%
rnd me 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 07:12 AM.


Advertisement
Log in to turn off these ads.