javascript - Cross domain Iframe communication -
javascript - Cross domain Iframe communication -
suppose in www.site1.com
has iframe www.site2.com
<iframe src="http://www.site2.com" ></iframe>
is there method communicate them?
look postmessage api. it'll require architecture work, can utilize emulate cors back upwards if need it.
https://developer.mozilla.org/en-us/docs/web/api/window.postmessage
javascript iframe
Comments
Post a Comment