0
How can i create a drag able div element
I want to be able to drag my div element with an id of mydiv anywere i want
3 Answers
+ 1
https://www.w3schools.com/howto/howto_js_draggable.asp
Maybe this would help
0
<div id="mydiv" draggable="true">...text..</div>
You can drag it now
But can't drop anywhere.
Read about drag and drop api for drop function.