Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interaction between elements in different iframes is very restricted.


IIRC, you can communicate entire JSON objects between an iframe and it's host frame with PostMessage.

The host can then act as a server for the iframe client, even updating it's state or DOM in response to a message from the iframe.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: