?
Solved

How to achieve this feature?

Posted on 2004-04-06
1
Medium Priority
?
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

771 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