|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Multiple Drop-Downs into One Variable
Hello all,
I am putting together a personal site that features navigation in the form of two drop-down menus. I want the site to only span one page only. Now, I'm having a problem when a selection is made in the first drop-down and then, after that, a selection is made in the second. I am storing the form's results in a single variable, but when the form results come back, I can't differentiate between the two drop-downs because the first one overwrites the second. In the page, I will use the form's results to select a group of records from an xml file. So, for example, if the form returns the value 'image', I would store that value in a variable and then use that variable to select all of the elements named 'image'. It's a bit difficult putting it into words, so here is an example: http://www.dreamtechnique.com/dropproblem/test.asp And here is the source code: http://www.dreamtechnique.com/dropp...?FSRel=code.asp Please be gentle, I am not a programmer by trade ![]() Thanks in advance, Dan |
|
#2
|
|||
|
|||
|
make them into separate forms that both submit to the same page.
was that gentle enough?
__________________
Programmer's Corner |
|
#3
|
|||
|
|||
|
Yes, thank you
![]() That works beautifully |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Multiple Drop-Downs into One Variable |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|