I am trying to drag and drop an image on a div. The image does not get get dragged onto the div and gives the following error
Uncaught TypeError: Failed to e
You may also use element.insertAdjacentHTML('beforeend', data);
element.insertAdjacentHTML('beforeend', data);
Please read the "Security considerations" on MDN.