Hallo zusammen,
in einem Formular möchte ich nach Auswahl einer PLZ aus einer Liste, dass OHNE Drücken einer Senden-Schaltfläche sofort das CGI-Script ausgeführt wird.
Wenn ich im Feld "plz1" nach Eingabe der PLZ die Eingabetaste drücke wird das CGI sofort ausgeführt. Wie bekomme ich es hin, dass das auch automatisch nach Auswahl einer PLZ im Feld "plz2" passiert? Ich hab's mit "onchange="return true" probiert, aber das war's wohl nicht.
Vielen Dank für Tips.
Matthias
---------------------------------------
<form name="postleitzahl" method="post" onSubmit="return checkFormular()" action="http://www.....de/cgi-bin/plz.cgi">
<table>
<tr>
<td>Suche nach PLZ:</td>
<td><input type="text" name="plz1" size="24" value=""></td>
</tr>
<tr>
<td></td>
<td>
<select name="plz2" size="15">
<option value="0">- - - PLZ - - -</option>
<option value="12345">12345</option>
<option value="23456">23456</option>
<option value="34567">34567</option>
</select>
</td>
</tr>
</table>
</form>