hii ,const div = document.createElement("div")
I am creating a div dynamically through javascript . so i need to set property through only. Can anybody tell how to set the draggable ="true" for a div through javascript. I tried with this not working properly.
(htmlElement.draggable = true;)
Plz help
Thanks in Advance
hii ,
I am creating a div dynamically through javascript . so i need to set property through only. Can anybody tell how to set the draggable ="true" for a div through javascript. I tried with this not working properly.
(htmlElement.draggable = true;)
Plz help
Thanks in Advance
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 374 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:33:50 |
Calls: | 7,975 |
Calls today: | 4 |
Files: | 13,017 |
Messages: | 5,819,906 |