Answers for "iframe messaging"

0

iframe messaging

<!-- 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>
Posted by: Guest on August-02-2021

Browse Popular Code Answers by Language