warum funktioniert denn das nicht ??? Bitte bitte hilfe.
function Go (x) {
if (x == "nothing") {
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
} else {
if (x == "end") {
top.location.href = parent.frames[1].location;
} else {
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
}
}
</script>
<form action=""><select size=1 name="Auswahl" onChange="Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)" style="width:250px; background-color:#FFFFE0; font-size:12px; font-family:Arial,sans-serif;" width="250">
<option value="praemien.php">Unterkategorie</option>
<option value="einloggen.htm">nach Punkten</option>
<option value="neue Prämien">neue Prämien</option>
<option value="Hersteller">Hersteller</option>
</select></form>
function Go (x) {
if (x == "nothing") {
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
} else {
if (x == "end") {
top.location.href = parent.frames[1].location;
} else {
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
}
}
</script>
<form action=""><select size=1 name="Auswahl" onChange="Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)" style="width:250px; background-color:#FFFFE0; font-size:12px; font-family:Arial,sans-serif;" width="250">
<option value="praemien.php">Unterkategorie</option>
<option value="einloggen.htm">nach Punkten</option>
<option value="neue Prämien">neue Prämien</option>
<option value="Hersteller">Hersteller</option>
</select></form>
Kommentar