Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q138 How do you get a two character abbreviation from a drop down list of all the US states as input to a CGI?

irt.org | Knowledge Base | JavaScript | Form 3.3 | Q138 [ previous next ]

Q138 How do you get a two character abbreviation from a drop down list of all the US states as input to a CGI?

Try something like this:

<FORM ACTION="nameofmy.cgi" METHOD="GET">

<SELECT NAME="state">
<OPTION VALUE="xx">xxxxx
<OPTION VALUE="yy">yyyyy
<OPTION VALUE="zz">zzzzz
</SELECT>

<INPUT TYPE="SUBMIT">

</FORM>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.