UPS
ich habe das folgende Auswahlmenü, das allein super funktioniert, aber sobald ich es in einem Formular einfüge, funktioniert es nicht mehr, kann jemand mir vielleicht weiterhelfen?
hier ist der Code:
<script language="JavaScript">
<!--
function textValue(){
var stationInteger, stationString
stationInteger=document.stationform.stationselect.selectedIndex
stationString=document.stationform.stationselect.options[stationInteger].text
document.stationform.stationtext.value = "Das Ziel lautet: " + stationString +"!" }
//-->
</script>
<form name="stationform">
<div align="center"><center><p><select name="stationselect" onChange="textValue()"
multiple size="5">
<option>Feedback </option>
<option>Gästebuch </option>
<option>Links </option>
<option>Spiele </option>
</select> <br>
</p>
<div align="center"><center><p><input type="text" name="stationtext" value
size="40" maxlength="35"> </p>
</center></div>
</form>
Gruß
G.M.