Solved

Working with combobox dinamically

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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 informatio…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

749 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