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

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -