Cross-domain communication using window.postMessage()
In some of our projects, we have a requirement to load an Iframe inside a website and pass data between them.
If the parent window and the Iframe window belong to the same domain, then the communication between them works seamlessly.
If both belong t...
eswari.hashnode.dev2 min read