In today's video I'll be showing you how to send data from an iframe up to the parent window (the page which is embedding the iframe). This can be done in a cross-origin setting, making it useful for most scenarios.
For your reference, check this out:
https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
π« My Udemy Courses - https://www.udemy.com/user/domenic-corso/
π¨ Download my VS Code theme - https://marketplace.visualstudio.com/items?itemName=dcode.dcode-theme
π Join my Discord Server - https://discord.gg/TXMQyvbpcA
π¦ Find me on Twitter - https://twitter.com/dcodeyt
πΈ Support me on Patreon - https://www.patreon.com/dcode
π° Follow me on DEV Community - https://dev.to/dcodeyt
πΉ Join this channel to get access to perks - https://www.youtube.com/channel/UCjX0FtIZBBVD3YoCcxnDC4g/join
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript