jessica: auswahlmenü

hab auf meine homepage eine auswahlliste, basierend auf javascript eingebunden,

<head>
<!--
function Go(x) {
 if(x == "none") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else {
   parent.frames[1].location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
 }
}
//-->

<body>
<form style="margin-bottom:0pt;" target="main">
<select style="font-family:Verdana,Arial,Helvetica; font-size:8pt;" name="Auswahl" size=1 onChange=" Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)">
                   <option value="none" seleced>A bis Z</option>
                   <option value="none">--------------------</option>
                   <option value="">Text</option>

beim aufrufen eines links bekomme ich aber die meldung : 'document.forms[0].elements[0]' ist kein objekt. was ist falsch ???

  1. hab auf meine homepage eine auswahlliste, basierend auf javascript eingebunden,

    <head>
    <!--
    function Go(x) {
    if(x == "none") {
       document.forms[0].reset();
       document.forms[0].elements[0].blur();
       return;
    }
    else {
       parent.frames[1].location.href = x;
       document.forms[0].reset();
       document.forms[0].elements[0].blur();
    }
    }
    //-->

    <body>
    <form style="margin-bottom:0pt;" target="main">
    <select style="font-family:Verdana,Arial,Helvetica; font-size:8pt;" name="Auswahl" size=1 onChange=" Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)">
                       <option value="none" seleced>A bis Z</option>
                       <option value="none">--------------------</option>
                       <option value="">Text</option>

    beim aufrufen eines links bekomme ich aber die meldung : 'document.forms[0].elements[0]' ist kein objekt. was ist falsch ???

    Hi,

    du hast this falsch eingesetzt!

    <html>
    <head>
    <title>Aukwahl</title>
    <script type="application/javascript">
    <!--
    function Go(x) {
     if(x == "none") {
       document.forms[0].reset();
       document.forms[0].elements[0].blur();
       return;
     }
     else {
       document.location.href = x;
       document.forms[0].reset();
       document.forms[0].elements[0].blur();
     }
    }

    //-->
    </SCRIPT>
    </head>
    <body>
    <form style="margin-bottom:0pt;" target="main">
    <select style="font-family:Verdana,Arial,Helvetica;font-size:8pt;" name="Auswahl" size="1" onChange="Go(this.options[this.form.Auswahl.options.selectedIndex].value)">
                       <option value="none" seleced>A bis Z</option>
                       <option value="none">--------------------</option>
                       <option value="http://www.zockerseite.de.vu">David's Zockerseite</option>
    </select>
    </form>
    </body>
    </html>

    MfG Dmitri