Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2003, 04:03 AM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to build a dynamic list

Hello,

Scenario
I have two drop down lists which are populated
via a database. One is static and the other is
populated according to the value selected from
the static list. When the page is shown to the
user both lists should be displayed ready for the
user to choose from the static list.

What I have so far is two lists displayed and an
'on change' event from the static list to populate the
dynamic list. I have attempted to populate the dynamic
list via a procedure embedded in the <BODY> and as a
VB Script neither of them seem to be executing.

I assume there is no problem in calling a VB Script from
an 'on change' event?

My question is:-
Does anybody have some example code I could look at or
perhaps just some outline guidance.

Thanks
Ian King



 
Old September 16th, 2003, 10:10 AM
Authorized User
 
Join Date: Jun 2003
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

www.4guysfromrolla.com

had an example of this - titled dynamic dropdowns or something similar. If you've not seen their site before, you will cetianly go back again.

Regards

Andy
 
Old September 16th, 2003, 12:29 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Check out the following two tutorials; I think they may be just what you need:

http://www.asp101.com/samples/db_pul...asp?id=2&sale=

http://www.atgconsulting.com/triplelist.asp


Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old September 18th, 2003, 04:16 AM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar,

thanks for the links. I am sure
they are going to very useful.

Regards
Ian King

Quote:
quote:Originally posted by Imar
 Hi there,

Check out the following two tutorials; I think they may be just what you need:

http://www.asp101.com/samples/db_pul...asp?id=2&sale=

http://www.atgconsulting.com/triplelist.asp


Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old September 18th, 2003, 04:18 AM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Andy,

thanks for the link.

Regards
Ian King

Quote:
quote:Originally posted by aware
 Hi

www.4guysfromrolla.com

had an example of this - titled dynamic dropdowns or something similar. If you've not seen their site before, you will cetianly go back again.

Regards

Andy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic List Content cyberddindia Classic ASP Basics 3 October 24th, 2006 10:29 AM
Dynamic Combobox List Intern06 Pro VB Databases 2 June 29th, 2006 09:41 AM
dynamic list al-hijjawi ASP.NET 1.0 and 1.1 Basics 3 April 7th, 2006 11:05 AM
build switch statement to make dynamic crmpicco Javascript How-To 0 October 27th, 2005 05:44 AM
Dynamic List Boxes swhite Access VBA 10 September 11th, 2003 01:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.