On Wednesday, July 11, 2012 at 10:07:44 AM UTC+3, til@k wrote:
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
const div = document.createElement("div")
div.setAttribute("draggable", true)
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)