Hallo,
ich habe folgenden Code geschrieben leider funktioniert das Statement window.location.href nicht im IE6.
Hat jemand von euch eine Idee wie ich das Umgehen kann. Das Problem ist ich muss 2 URL nacheinander abschicken. Die eine in HREF und die andere in FORM action.
Vielen Dank fuer eure Ideen.
Gruss
Axel
<html><head><title>Test</title>
<script type="text/javascript">
function CheckInputDE()
{
window.location.href = "http://www.xyz.com/irj/portal/anonymous/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.masthead.LogOutComponent?logout_submit=true";
document.formde.submit();
}
function CheckInputFR()
{
window.location.href = "http://www.xyz.com/irj/portal/anonymous/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.masthead.LogOutComponent?logout_submit=true";
document.formfr.submit();
}
</script>
</head>
<body>
<form method="POST" action="http://www.cedef.lu/irj/portal/anonymous" name="formde">
<input type="hidden" name="guest_user" value="Guest_de">
</form>
<form method="POST" action="http://www.cedef.lu/irj/portal/anonymous" name="formfr">
<input type="hidden" name="guest_user" value="guest_fr">
</form>
<a href="#" onclick="CheckInputDE();" >GERMAN</a>
<a href="#" onclick="CheckInputFR();" >FRENCH</a>
</body>
</html>