Hello everyone,
I have two application: application A is developped in java and application B is developped in php. I try to send a simple data from application B to application A.
First of all, application A has a link “linkA”, it opens application B in a new window:
<a href=”javascript:accessToAppB()”>Access to application B</a></div>
Onclick on this above link, application B is opened on a new window. Application B contains a link “linkB”:
<a href=”javascript:displayApplicationB(“1234″);void 0”>Access to application A</a>
Onclick on this above link, “1234” is sent from application B to application A and injected into an input type text:
<input type=”text” name=”myID” id=”myID”>
Please find below the codes I wrote, the code works very well with google chrome but with internet explorer 11, I have the following error when I click on the “linkB” located at the application B:
This page can’t be displayed. Make sure the web address //ieframe.dll/dnserror.htm# is correct:
Application A:
<script>
function accessToAppB() {
var childWindowUrl = “
window.open(childWindowUrl);
}
</script>
Application B:
function displayApplicationB(username){
window.opener.postMessage(“1234″,”*”);
}
The Goal of my application is actually to send data from application B to application A. Application A is located at server A and application B is located at server B.