Dropping and Dragging a file from the desktop onto a HTML page displayed in IE

J

Jessica Hart

Hi All,

I want to know if it is possible to drag a file from the desktop and
drop it onto a drop area in a html page? I then want to be able to
access the filename and display that in a text box.

I am using Internet Explorer 6.

I am able to drag text from a textbox and drop it on to a drop area in
my html page fine by handling the ondragenter(), ondragover(),
ondragleave() and ondrop() events.

Any ideas/suggestions would be appreciated.

Thanks

Jess
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,190
Latest member
ClayE7480

Latest Threads

Top