nene, garnicht so kompliziert gedacht...
<html>
<head>
<title>Test</title>
<script type="text/javascript">
function Go(x) {
if(x=="1"){document.writeln("1");}
if(x=="2"){document.writeln("2");}
if(x=="3"){document.writeln("3");}
}
</script>
</head>
<body>
<form action=""><select size=1 name="Auswahl"onChange="Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)">
<option value="0">...Frageart wählen</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></form>
</body>
</html>
Mit diesem Script kann ich schon eine Option aus der Liste auswählen und die Go() function gibt mir auch entsprechenden Code aus. Problem ist jetzt nur noch, daß ich ja nicht jedesmal die ganze Seite neuschreiben will, sondern den Text den Go() ausgibt will ich einfach zwichen dem Formular und dem </body> tag schreiben. Weiß nur nicht wie ich den dahin bekomme.
Hat jemand da ne Idee??
