PDA

View Full Version : drag and drop from Windows Explorer to an <input>



markh
09-30-2004, 12:38 PM
I have some <input> tags with the usual browse/submit.

I wondered if there was a way to use Windows Explorer to drag a file from there onto the file name field of the <input>?

OR

Make an image and have it active as a "drop zone" so that a file dropped onto it would automatically upload that file?

Here's hoping!!!

gvk63
09-01-2005, 11:43 PM
I'm very interested too...

VBScript?
http://www.vandyke.com/support/tips/vcpdragdrop.html

Javascript?
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/ondrop.asp?frame=true