I\'m tryin to add event listener to mouseup inside iframe object:
$(\"#myIFrame\").contents().find(\"body\").bind(\"mouseup\", function() { //e.preventDe
If you just want a plain vanilla Javascript way, you can use the following:
var iframe = document.getElementById('myIFrame'); iframe.contentDocument.body.addEventListener('mouseup', Handler); function Handler() { alert('works'); }