Solved

Working with combobox dinamically

Posted on 2001-07-31
2
193 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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ASP VB... 7 92
Grab data from remote page 10 57
add custom headers to my mail 2 41
Need to rewrite code for checking if a file exists 3 39
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…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

10 Experts available now in Live!

Get 1:1 Help Now