Tim: Probleme mit onchange="spring()"

Beitrag lesen

Ich würde gerne mein Menü in eine SELECT Fromular stecken.

<script type="text/javascript">
//<![CDATA[
 function spring() {
    var welcherLink = document.jump.URLs.selectedIndex;
    document.jump.URLs.selectedIndex = "0";
    if(welcherLink > "0"){
       top.location.href = document.jump.URLs.options[welcherLink].value;
    }
 }
//]]>
 </script>

<form action="" name="jump">
<select name="URLs" onchange="spring()">
<option value="hallo.htmll">hallo</option>
</form>

Aber ich bekomme zwei Fehlermeldungen:

There is no attribute  <form action="" name="jump">
und

Document type does not allow element ... here; missing one of ... start-tag  <select name="URLs" onchange="spring()">

Kann mir da jemand weiterhelfen.

Tim