Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to achieve this feature?

Posted on 2004-04-06
1
Medium Priority
?
224 Views
Last Modified: 2010-04-06
For example, in the "From" and "To" dropdown list:
http://www.bestplaces.net/col/col.aspx

before the "State" is selected, the "city" is disabled;
after the "State" is sected, the "city" is loaded.

Is there any general way to do these without considering languages (asp, jsp, php...)? or What are the key techniques to achieve this feature?
0
Comment
Question by:ggyao2003
1 Comment
 
LVL 12

Accepted Solution

by:
venkateshwarr earned 200 total points
ID: 10773146

You can use any kind of scripting language for this.
If you are using server side scripting, Once both the selects are filled, you can submit the form by using onchange=""..
When the form is submitted, on server side find the cities and display them in the remaining selects..

If you see the city drop down menu are empty(view source.)

I guess they are using database to store city information

You can also do that using client side scripting but you have to load all the state and city informationc in javascritp/VBscript array,.

venkat.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

810 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