Man ich hab doch noch Probleme ...
Wollte das ganze noch in PHP schreiben, aber da brauch ich doch n Submit Button doch der Text sollte ohne Submit geändert werden.
Wollte das so machen:
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><select name="">
<option value="a" selected>Waehle was</option>
<option value="b">Text1</option>
<option value="c">Text2</option>
<option value="d">Text3</option>
</select></td>
</tr>
<tr>
<td>
<?php
if ($_POST["action"]=="a") {//kommt vom pull down menü
echo "Text A"; //Text, welcher kommen soll
}
if ($_POST["action"]=="b") {//kommt vom pull down menü
echo "Text B"; //Text, welcher kommen soll
}
?>
</td>
</tr>
</table>
Kann mir da vielleicht nochmals jemand helfen der in JS-Script n grösserer Crack ist wie ich?
Danke.
gruss
Oliver