Solved

Working with combobox dinamically

Posted on 2001-07-31
2
194 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

912 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now