Chris Benoit. Christopher Michael Benoit (French pronunciation: â; May 21, 1967 â June 24, 2007) was a Canadian professional wrestler.
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.
The document sending a message begins by obtaining a reference to the window it wants to send a message to. If sending a message to a document in an iframe, first get a reference to the iframe and then its contentWindow property as shown below. If sending a message from the iframed document to the containing document, the parent keyword provides a reference.