Solved

Working with combobox dinamically

Posted on 2001-07-31
2
195 Views
Last Modified: 2012-05-04
Hi,
I have 2 Combo box in one asp page, the first one shows me cities and the second one shows sublocations.
I recovered the cities and sublocations from access tables.
These Sublocations belongs to one city in particular.

What I need to do is:
If I select one particular city, the second combobox must show me only the sublocations of this city.
It is posible ?
Thanks in advance
0
Comment
Question by:jimenez
2 Comments
 
LVL 7

Accepted Solution

by:
John844 earned 50 total points
ID: 6337922
yes it is possible.  Here is a link describing how.
http://www.aspfree.com/authors/salimn/optionex.asp
0
 
LVL 1

Expert Comment

by:BenBen
ID: 6349509
Well, it is possible using that but that is in javascript, not ASP, you would have to dynamically build the js (BORRING). you should do something like an onchange value for the first and second box, that refreshes the page, telling the ASP script which box had been selected.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question