Jump to content
  • Advertisement
Sign in to follow this  
Takaloy

ASP Help

This topic is 4418 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Old ASP question (not .Net) How do I create an effect that when I select an item drop say, a drop-down list - for example a country (UK) and I make it's provinces appear (which will be fetched from a sql server) WHILE retaining all the information entered in that page (this is the part which I can't seem to get right).

Share this post


Link to post
Share on other sites
Advertisement
Because its ASP, you will be going to the server, then coming back and reloading the page when you do dynamic things when people select a drop down, I would suggest on that submit, store the values, then reload them on page load.

<input type=text name=firstname value=<%=session("firstname")%>>

Don't forget to reset all those sessions variables to null upon completion of that form.

thats one way of doing it.
Jeff.

Share this post


Link to post
Share on other sites
thanks..
just an example, will this work?


<select name=(this)>

<option value="<input type=text name=firstname value=<%=session("firstname")%>>">Something</option>


</select>

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!