|
 |
asp_web_howto thread: Dynamic Combo Boxes
Message #1 by "John Miller" <jpmiller@a...> on Thu, 10 Oct 2002 16:15:09
|
|
I apologize for the simple question. I know this has been discussed here
before, but I am pressed for time and have not been successful in
searching for an answer in the archives.
I need two combo boxes in my asp application, both pulled from the same
table in an Access database. One field is School, the other is County. I
need to be able to select the correct County, and have the second combo
box change to list only the Schools in that County. How do I do this?
Thank You,
John Miller
jpmiller@a...
Message #2 by "Scott Heath" <scott@s...> on Thu, 10 Oct 2002 10:37:13 -0500
|
|
Never done it before but I would assume a little bit of JavaScript since
ASP is server side.
On page load:
Pull all the data (schools and counties) into an array in JavaScript
Then in the first popup window do an onChange event to make the 2nd
popup change.
Scott
Website | http://www.scottspad.com
E-mail | scott@s...
Alpha Pager | www.scottspad.com/phone.asp
--------------------------------------------
There are 10 types of people in the world,
those that can read binary and those that can not.
-----Original Message-----
From: John Miller [mailto:jpmiller@a...]
Sent: Thursday, October 10, 2002 4:15 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Dynamic Combo Boxes
I apologize for the simple question. I know this has been discussed here
before, but I am pressed for time and have not been successful in
searching for an answer in the archives.
I need two combo boxes in my asp application, both pulled from the same
table in an Access database. One field is School, the other is County. I
need to be able to select the correct County, and have the second combo
box change to list only the Schools in that County. How do I do this?
Thank You,
John Miller
jpmiller@a...
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
|
|
 |