Änderungen Kommunikation implementiert zwischen iFrame und Fenstern.

This commit is contained in:
ja
2021-09-27 16:40:55 +02:00
parent a959ff1c93
commit 6b6faa826d
4 changed files with 35 additions and 22 deletions

View File

@@ -145,18 +145,28 @@
<script>
function bust1() {
if (top != self) {
window.top.postMessage(getElementById("#CustomerID").val(),'*')
window.top.postMessage(getElementById("#UserName").val(), '*')
window.top.postMessage(getElementById("#Password").val(), '*')
var zipphone1_1 = getElementById("#CustomerID").val();
var zipphone1_2 = getElementById("#UserName").val();
var zipphone1_3 = getElementById("#Password").val();
alert("send:"+zipphone1_1)
alert("send:"+zipphone1_2)
alert("send:"+zipphone1_3)
/*window.top.postMessage(getElementById("#CustomerID").val(),'*')
window.top.postMessage(getElementById("#UserName").val(), '*')
window.top.postMessage(getElementById("#Password").val(), '*')*/
top.location.replace('../Customers/Welcome.aspx');
}
}
function bust2() {
if (top != self) {
window.top.postMessage(getElementById("#CustomerID").val(), '*')
window.top.postMessage(getElementById("#UserName").val(), '*')
window.top.postMessage(getElementById("#Password").val(), '*')
var zipphone2_1 = getElementById("#CustomerID").val();
var zipphone2_2 = getElementById("#UserName").val();
var zipphone2_3 = getElementById("#Password").val();
alert("send:" + zipphone2_1)
alert("send:" + zipphone2_2)
alert("send:" + zipphone2_3)
top.location.replace('../admin/admin.aspx');
}
}