select option as a hidden variable...

Discussion in 'HTML' started by graniteraju@gmail.com, Feb 28, 2006.

  1. Guest

    I have the following html code:
    <html>
    <body><form method="post" action=page2.html>
    <select name="states">
    <option>California </option>
    <option>Colorado </option>
    <option>Connecticut</option>
    </select>

    </form></body>
    </html>

    I want to store the "selected state value" as a hidden variable and
    retrieve in other pages(maintaining a session).

    how do I do that?
    , Feb 28, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    415
  2. J. Hall
    Replies:
    2
    Views:
    985
    Jeff Thies
    Apr 21, 2004
  3. Quasimido CSS
    Replies:
    2
    Views:
    6,555
    Quasimido CSS
    Nov 7, 2005
  4. WebRaster
    Replies:
    1
    Views:
    203
    Francisco Spaeth
    Oct 26, 2005
  5. Nick Spacek

    Removing select option removes entire select

    Nick Spacek, Jun 21, 2006, in forum: Javascript
    Replies:
    1
    Views:
    136
    Matt Kruse
    Jun 21, 2006
Loading...

Share This Page