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

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -