how to get event from iframe code example
Example: how to add event listener to iframe
var iframe = document.getElementById('myIFrame');
iframe.contentWindow.body.addEventListener('mouseup', Handler);
function Handler() {
alert('works');
}
var iframe = document.getElementById('myIFrame');
iframe.contentWindow.body.addEventListener('mouseup', Handler);
function Handler() {
alert('works');
}