Here I have a <div>
and an <img>
tag.
<div id='input' style="width: 500px; min-height: 40px; border: solid black;"></div><br>
<img id="img" style="width: 100px; min-height: 100px; border: gray;"></img>
Let's say I copied an image to my clipboard from my browser, and if I paste (ctrl
+v
) the image onto the <div>
, the image appears at the <img>
tag. What script is needed to achieve this?