Sending data from iframe to parent page

Hi,

Is this possible? Am aware of postMessage method to send data from a parent page to an iframe. I am asking if it is possible to send from an iframe to parent page.

If so, can anyone offer a link to an example?

Best wishes,
Matt

postMessage works both ways.

Google, first result:

1 Like