David Siegel: Java Script Error bei Form

Beitrag lesen

Hi folx

Ich habe ein prob und zwar habe ich zwei frames, bei einem ein sog. form, bei dem ich das monat auswählen kann - der monat wird dann im unteren frame angenzeigt - doch mein prob is jetzt er sagt da is ein java script fehler - wO?

bitte helft mir
<html>

<head>
<title>Calendar</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script LANGUAGE="JavaScript">

// go to page selected from options menu

function leapto(form) {
var myindex=form.dest.selectedIndex
parent.month.location.href=(form.dest.options[myindex].value);
}
        //

</script>

<base TARGET="_parent">
</head>

<body bgcolor="#FFFFFF" TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<div align="left">

<table border="0" width="180" cellspacing="0" cellpadding="0">
  <tr VALIGN="top" ALIGN="left">
    <td><img src="1998_red.gif" alt="1998" width="60" height="25"></td>
    <td><a href="../1999/1999_frameset.html"><img src="1999_grey.gif" border="0" alt="1999"
    width="60" height="25"></a></td>
    <td><a href="../2000/2000_frameset.html"><img src="2000_grey.gif" border="0" alt="2000"
    width="60" height="25"></a></td>
  </tr>
</table>
</div>

<table align="center">
  <tr>
    <td ALIGN="CENTER" VALIGN="BOTTOM"><form NAME="myform">
      <div align="center"><center>
<p><select NAME="dest" SIZE="1" onChange="leapto(this.form)">
        <option VALUE="11.html">November </option>
        <option VALUE="12.html">December </option>
        <option VALUE="01.html">January '99</option>
        <option VALUE="02.html">February '99</option>
        <option VALUE="03.html">March '99</option>
        <option VALUE="04.html">April '99</option>
        <option VALUE="05.html">May '99</option>
        <option VALUE="06.html">June '99</option>
        <option VALUE="07.html">July '99</option>
        <option VALUE="08.html">August '99</option>
        <option VALUE="09.html">September '99</option>
      </select></p>
      </center></div>
    </form>
    </td>
  </tr>
</table>
</body>
</html>

Danke für eure Hilfe