Thank you, I tried window.parent.postMessage(“msg”, “*”). I was testing in the preview which has a different url than the production website and that was blocking the messaging. I still get the javascript error but the Messaging works so I imagine it is unrelated to my script.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Embed iframe dynamically using script | 0 | 137 | April 21, 2020 | |
| Not receiving data from postMessage in embedded iframe | 14 | 1617 | December 13, 2021 | |
| Break out of a iframe | 1 | 195 | August 26, 2018 | |
| Is there anyone with problems with window.parent.postMessage on Safari? The message from an external page to wix (iframe) stopped to work | 0 | 1347 | November 11, 2020 | |
| How to redirect on HTMLElement iFrame event | 3 | 1102 | July 3, 2021 |