access parent window from iframe cross domain

But everywhere I've read says that if the iframe page is on the same domain as the parent page, it should work if I do for instance: parent.document.location parent.window.document.location parent.window.location If both pages were on the same domain I believe it would work. There was a requirement in the project I was working - to place one IFrame inside the CRM Form, which is in a different domain and push some data from IFrame to Parent window Accessing to a parent window and document. Method 1 : Using JS parent.document.getElementById(“frameId”) method to access parent of Iframe