Click to See Complete Forum and Search --> : Jump Menu or Drop down boxes


dramirez
04-05-2005, 06:16 PM
I am having trouble creating what I thought would be a simple web page. I have a simple input data form with 2 text boxes where the user types their name, phone number. Then I have a drop down box asking them to select the type of computer they want a laptop, desktop. If laptop is chosen I would like another drop down box to appear with choices for a laptop, if desktop is chosen I would like a dropdown box to appear with desktop choices. I realize that ASP is all server side scripting so it will not post my data from the text boxes.. I tried using jump menus and it worked as far as displaying the drop down menu's but would not capture the info from the text box. Any help would be greatly appreciated.

stillLearning
04-05-2005, 07:16 PM
dramirez,
There a couple of ways to do what you want to there depending on your preferences. So...
If the lists are constantly updated in a database, then set the page up as a form that posts to the processing page and you can then call the list with the current list based on the values submitted.
If the lists are static, then use divs without displaying either lists until the selection is made and then you can toggle the appropriate div elements display properties.

Hopefully this helps, if not post your code and as much information as you can about your project.

Bullschmidt
04-07-2005, 02:16 AM
If the lists are static, then use divs without displaying either lists until the selection is made and then you can toggle the appropriate div elements display properties.


And here's a related link:

Contractible Headers Script IE
http://www.dynamicdrive.com/dynamicindex1/navigate2.htm