Hallo
Kann mir bitte jemand helfen, ich finde den Fehler nicht.
Also, ich habe folgendes Script:
---------------
selectiert = window.top.frames["search"].document.Navigation.Nav.selectedIndex;
selVal = window.top.frames["search"].document.Navigation.Nav.options[selectiert].value;
if (window.parent.frames["Nav"].document.forms[0].STP_f[4].status) {
navVal = 1;
}
if (selVal == 2){
if (navVal == 1){
top.frames["search"].location = stri5;
}
else {
top.frames["search"].location = stri2;
}
}
---------------
Das Problem ist nun folgendes:
Alle Variablen werden richtig gesetzt, nur das letzte if-Statement
if(navVal ==1) wird nicht ausgefuehrt (auch wenn navVal =1 ist).
Wo liegt da der Fehler?
Gruss
Ingrid