-
Populating drop-down based on 1st drop-down selection
I have two lists (drop-down boxes) where the second list depends on the value
of the first list. Does anyone know an easy way to do this? For example,
if the first drop-down contains a list of clients, when the user picks the
client the second drop-down will be populated with the user id's for that
client.
-
Re: Populating drop-down based on 1st drop-down selection
"Theresa" <theresa.delrosario@stuckynet.com> wrote:
>
>I have two lists (drop-down boxes) where the second list depends on the
value
>of the first list. Does anyone know an easy way to do this? For example,
>if the first drop-down contains a list of clients, when the user picks the
>client the second drop-down will be populated with the user id's for that
>client.
From what I have been seeing in ASP pages is to have one drop down on one
page and when a selection is made a second asp with the results in another
drop-down.
Randy
-
Re: Populating drop-down based on 1st drop-down selection
Check the attachment to see how this can be done in javascript.
If you need to go back to the server to populate the second dropdown set up
a second frame which is hrefed to the asp with a parameter from the first
dropdown.
Theresa wrote:
> I have two lists (drop-down boxes) where the second list depends on the value
> of the first list. Does anyone know an easy way to do this? For example,
> if the first drop-down contains a list of clients, when the user picks the
> client the second drop-down will be populated with the user id's for that
> client.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks