[thelist] JS Drop-Down Nav

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Tue Jan 29 03:15:01 CST 2002


> <FORM NAME="productGoto">
> <SELECT NAME="productList">
> <OPTION VALUE="#">SELECT A TOPIC
> <OPTION VALUE="#">----------------------------
> <OPTION VALUE="http://www.yahoo.com">Yahoo
> <OPTION VALUE="http://www.google.com">Google
> <OPTION VALUE="http://www.evolt.org">Evolt
> </SELECT>
> <INPUT TYPE="BUTTON" VALUE="Go" ALT="Go" ONCLICK="gotoFunction();">
> </FORM>

I think I'd rather use <form onsubmit="gotoFunction()"> than <input
onclick="gotoFunction()">.
Just in case the user presses the <Enter> key (see the other thread about
submitting forms with <Enter>).

my 2 cents of Euros ;-)
s t e f [ n o t a - b e n e . o r g ]




More information about the thelist mailing list