select option as a hidden variable...

G

graniteraju

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top