Michael: Form-action ändern

Beitrag lesen

<form method="GET" action="http://www.think-venezuela.net/cgi-bin/search/english/showhotels.pl" target="_self">
<select onchange="this.form.action = this.options[this.selectedIndex].value">
<option value="Erstes_CGI_Dingen">web directory</option>
<option value="Zweites_CGI_Dingen">yellow pages</option>
</select>
<input type="submit">
</form>

<form method="GET" action="http://www.think-venezuela.net/cgi-bin/search/english/webdirectory/showhotels.pl" target="_self">

<form method="GET" action="http://www.think-venezuela.net/cgi-bin/search/english/yellowpage/showhotels.pl" target="_self">

hm... bei die <option value="Erstes_CGI_Dingen">, was ist das Erste_CGI_Dingen, der pfad zum perl script ??

dann so ??

<form method="GET" action="http://www.think-venezuela.net/cgi-bin/search/english/showhotels.pl" target="_self">
<select onchange="this.form.action = this.options[this.selectedIndex].value">
<option value="http://www.think-venezuela.net/cgi-bin/search/english/yellowpage/showhotels.pl">web directory</option>
<option value="http://www.think-venezuela.net/cgi-bin/search/english/yellowpage/showhotels.pl">yellow pages</option>
</select>
<input type="submit">
</form>