ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 20th, 2003, 05:16 PM
Schmeck Schmeck is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 6 Schmeck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 14 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 20th, 2003, 06:01 PM
nopoints nopoints is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Windsor ON, Canada
Posts: 459 nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 44 m 22 sec
Reputation Power: 8
make them into separate forms that both submit to the same page.

was that gentle enough?
__________________
Programmer's Corner

Reply With Quote
  #3  
Old July 20th, 2003, 07:27 PM
Schmeck Schmeck is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 6 Schmeck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 14 sec
Reputation Power: 0
Yes, thank you

That works beautifully

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Multiple Drop-Downs into One Variable


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway