Madhavan281981

Hi,
I want to use the drag and drop concept in my web browser (IE 6.0).This is my scenario, I want to drag and drop objects(objects like Word,Excel,Outlookmail from my desktop) to my web browser(where the web browser will have a container element div tag). After the element is dropped in my browser container (div tag), based on the type of object placed in the container, i have to automate it in the client side through javascript and save it in the server. To identify the type of object draged and dropped, it have to get the source location from where the object was dragged.

Is it possible to get path of the object through javascript. If so what will be code used. Please help me on this.

Your help on this would be greatly appreciated




Re: Internet Explorer Web Development Identifying Drag drop objects in IE Browser through Javascript

unique_username

Not possible.

The only form field available for uploading files is the <input type="file".../> element, and the value (e.g. what file) is not accessible by JavaScript for security reasons.

Caveat... this may be possible through ActiveX, flash or something else, but not plain HTML/JavaScript.






Re: Internet Explorer Web Development Identifying Drag drop objects in IE Browser through Javascript

Madhavan281981

Can you help me on how to do the same with ActiveX




Re: Internet Explorer Web Development Identifying Drag drop objects in IE Browser through Javascript

unique_username

Sorry, I can't help you there. I only develop sites/apps that work in all browsers... and since ActiveX only works in IE, I've never used it.

you may want to try asking in an ActiveX forum.
Good luck.