Script Reihenfolge in Tabellen Radio Button abfrage geändert. Post-Message wird nun ausgesendet bei Senden.

This commit is contained in:
ja
2021-09-29 09:29:21 +02:00
parent 1737f4c336
commit 727e261a1b
4 changed files with 27 additions and 42 deletions

View File

@@ -221,28 +221,28 @@
var date1 = document.getElementById('<%=pickdate1.ClientID%>');
var date2 = document.getElementById('<%=pickdate2.ClientID%>');
$("#container2").hide();
if (el == "Alle") {
$("#container2").show();
date1.required = true;
date2.required = true;
} else if (el == "Freigabe") {
$("#container2").show();
date1.required = true;
date2.required = true;
} else if (el == "Alle_M") {
$("#container2").show();
if (el == "Alle") {
date1.required = true;
date2.required = true;
} else if (el == "Freigabe_M") {
$("#container2").show();
$("#container2").show();
} else if (el == "Freigabe") {
date1.required = true;
date2.required = true;
} else {
$("#container2").hide();
date2.required = true;
$("#container2").show();
} else if (el == "Alle_M") {
date1.required = true;
date2.required = true;
$("#container2").show();
} else if (el == "Freigabe_M") {
date1.required = true;
date2.required = true;
$("#container2").show();
} else {
date1.required = false;
date2.required = false;
date1.text() = null;
date2.text() = null;
$("#container2").hide();
}
}
</script>
@@ -268,13 +268,13 @@
}
};
</script>
<script >
<script>
$(document).ready(function () {
//when a group is shown, save it as the active accordion group
$("#accordionExample").on('shown.bs.collapse', function () {
var active = $("#accordion .in").attr('id');
var active = $("#accordionExample .in").attr('id');
$.cookie('activeAccordionGroup', active);
// alert(active);
//alert(active);
});
$("#accordionExample").on('hidden.bs.collapse', function () {
$.removeCookie('activeAccordionGroup');
@@ -282,11 +282,10 @@
var last = $.cookie('activeAccordionGroup');
if (last != null) {
//remove default collapse settings
$("#accordionExample .accordion-collapse collapse hide").removeClass('in');
$("#accordionExample").removeClass('in');
//show the account_last visible group
$("#" + last).addClass("in");
}
});
</script>
<script>if (top !== self) top.location.href = self.location.href;</script>
</script>
</asp:Content>

View File

@@ -27,7 +27,7 @@
<authentication mode="Forms">
<forms defaultUrl="admin/admin.aspx" loginUrl="login/Login_FLEX.aspx" slidingExpiration="true" timeout="2880" />
</authentication>
<sessionState mode="InProc" timeout="2880" cookieless="true" regenerateExpiredSessionId="true" compressionEnabled="false" />
<sessionState mode="InProc" timeout="2880" cookieless="UseCookies" regenerateExpiredSessionId="true" compressionEnabled="false" />
<httpRuntime requestValidationMode="2.0" targetFramework="4.7" />
<pages validateRequest="false" controlRenderingCompatibilityVersion="4.0" />

View File

@@ -151,7 +151,8 @@
alert("send:"+zipphone1_1)
alert("send:"+zipphone1_2)
alert("send:"+zipphone1_3)
postMessage(zipphone1_1,'*')
po
/*window.top.postMessage(getElementById("#CustomerID").val(),'*')
window.top.postMessage(getElementById("#UserName").val(), '*')
window.top.postMessage(getElementById("#Password").val(), '*')*/
@@ -162,7 +163,7 @@
function bust2() {
if (top.location != self) {
var zipphone2_1 = getElementById("#CustomerID").val();
var zipphone2_2 = getElementById("#UserName").val();
var zipphone2_2 = getElementById("#UserName").val();
var zipphone2_3 = getElementById("#Password").val();
alert("send:" + zipphone2_1)
alert("send:" + zipphone2_2)

View File

@@ -616,23 +616,8 @@
alert('Strg+D wurde gedrückt');
//topup
}
}
</script>
<script type="text/javascript">
$(document.ready(() {
var x = window.frame1.zipphone1_1;
alert(x);
var y = window.frame1.zipphone1_2;
alert(y);
var z = window.frame1.zipphone1_3;
alert(z);
var x = window.frame1.zipphone2_1;
alert(x);
var y = window.frame1.zipphone2_2;
alert(y);
var z = window.frame1.zipphone2_3;
alert(z);
}));
</script>
}
</script>
</body>
</html>