iframe call parent function
The problem. Say you have a website (site A) with an iframe wherein you host another website (site B). In old and unsecure browsers it was possible to do a JavaScript call from site B to site A like this: window.parent.doSomething(); Here the doSomething function is living on site A and is called by site B through its parent window.