We have two iframe , and opening our site in the both iframe .
capturing the event on the body click.
$ (function(){
$ ('body').click(function(e){
console.log("iframe click");
console.log(e);
//how can i use
$ ('#i2', window.parent.document).trigger(e);
});
});
what we want is to execute an event to the second iframe what is executed in the first iframe.
how can we use the e = event object to do this ?