andreas: Echtes Dropdown-Menü mit Javascript oder PHP?

Beitrag lesen

Hi!
Aber so geht es auch nicht:

<head>
<script type="text/javascript">
<!--
function add() {
 NeuerEintrag = new Option(document.form.alle.value,document.form.alle.value,false,true);
 document.form.auswahl.options[document.form.auswahl.length] = NeuerEintrag;
 document.form.alle.value = "";
}
function del() {
 document.form.auswahl.options[document.form.auswahl.length-1] = null;
}

//-->
</script>
</head>
<body>
<form name="form" method="post" action="">
  <select name="alle" size="5" multiple>
    <option>a</option>
    <option>b</option>
    <option>c</option>
    <option>d</option>
    <option>e</option>
  </select>
  <input type="button" name="add" value="hinzufügen" onClick="add()">
  <input type="button" name="del" value="löschen" onClick="del()">
  <select name="auswahl" size="5" multiple>
    <option>dfg</option>
  </select>
</form>
</body>

Und löschen auch nicht, aber auch bei dwer vorlage wird immer nur der letzte Eintrag aus der Lite gelöscht!

Andreas