Click to See Complete Forum and Search --> : Urgent:Populating Values based on the Selection


February 29th, 2000, 01:25 PM
Hi,
I am developing an ASP page using VBScript & Javascript(Client side).
I have three combo boxes in my page.Say Region,Country & City.
I have to populate the values in the Country and City combo boxes,
based on the selection.The Client side event handling should
be done using JavaScript.
Can anyone send me the Sample code?
Thanx in Advance.

Regards,
Sam

Kyle Burns
February 29th, 2000, 01:34 PM
Check out the links at
http://www.learnasp.com/learn/listdynamicmore.asp

February 29th, 2000, 02:11 PM
Hi,
Thanks for your information.I checked the site.
But I want to load the values initially from the database.i.e. first all
the values from the database should be stored in the Client side arrays
with relationship.After that,based on the selection I want to populate.
If possible,give me some idea.
Thanks!
Sam

Kyle Burns
February 29th, 2000, 02:37 PM
Sam, the first link on the page I sent you does exactly that. It reads the values in from a database and writes the javascript functions to performing the linking.