title: How to add onpaste event in frame in IE with javascript?
body: <p>I want to handle the paste event after clicking right right and select Paste in IE. As an example i did this:</p>
  
  <pre><code> parent.document.frames["myframe"].document.attachEvent('onclick', function(e) {
        alert("paste");
  });
  </code></pre>
  
  <p>and it works ok. But when I add 'onpaste' instead of 'onclick' it doesn't work. Also I am using javascript and not jquery. </p>
  
  <p>Does anyone have an idea of how this could work?</p>
  
  <p>Thanks</p>