I'm having problems setting my image to be draggable. This code doesn't seem to work:
var thumb = document.createElement("img");
thumb.setAttribute('draggable', "true");
I create and append my image to DOM like this: var thumb = document.createElement("img");
thumb.setAttribute('draggable', "true");
thumb.setAttribute('alt', label);
thumb.setAttribute('id', "dhmvseries_" + label);
thumb.setAttribute("dhmvseriesuuid",label);
thumb.ondragstart = thumbDragStart;
thumb.ondragend = thumbDragEnd;
thumb.onmouseover = displayThumbInfo;
thumb.onmouseout = hideThumbInfo;
var thinner = createElement("div", "dhThumbImage dhRounded");
thinner.appendChild(thumb);