var div = document.createElement('div');
div.draggable = true;
// the value of the div variable should be: <div draggable="true"></div>
On Wednesday, July 11, 2012 9:07:44 AM UTC+2, 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.