title: Paste content in a DIV
body: <p>The way to paste text or image to a DIV (like input) is to click that DIV and do the paste comment, which is CTRL + V usually.</p>
  
  <p>Now, my question would be, is it possible with Javascript to paste a text or image to a DIV even the DIV (or input) even if that DIV is not selected?</p>
  
  <p>Update:</p>
  
  <pre><code>&lt;div contenteditable="true" id="pasteCapture" style="height: 100px; width: 100px; " onpaste='handlepaste(this, event)'&gt;&lt;/div&gt; 
     &lt;script&gt;
          function getfocus(){
              document.getElementById('pasteCapture').focus()
          }
    &lt;/script&gt;
  </code></pre>
  
  <p>So far this is what I have done. When the div is selected and paste is made, no problem. However, my requirement is that this DIV should get the paste item even its not selected on the page. </p>
  
  <p>Reason for this is I will make this div hidden. </p>