select option value into a hidden variable.....

Discussion in 'Java' 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. Quasimido CSS
    Replies:
    2
    Views:
    6,553
    Quasimido CSS
    Nov 7, 2005
  2. Replies:
    0
    Views:
    3,389
  3. Rick
    Replies:
    3
    Views:
    8,072
    Alexey Smirnov
    Apr 13, 2010
  4. Phlip
    Replies:
    4
    Views:
    171
    Phlip
    Sep 15, 2006
  5. Replies:
    6
    Views:
    198
Loading...

Share This Page