mensajería de iframe
<!-- To send message do this -->
<script>
window.parent.postMessage({
"messageone":"Your message here",
"messagetwo":"Your second message here"
}, "*");
</script>
<!-- Or do this -->
<script>
window.parent.postMessage("Message here", "*");
</script>
Sewell Stephens