Search


Change Language


Ajax Downloads Home arrow Other Ajax Scripts
Free AJAX Scripts by Freeajaxscripts.net
Chained select boxes - AJAX Script

This script uses Ajax to popuplate a select box with cities based on which country you choose.

Note: PHP or other server side language is required.

This script works like this:

  • Someone select a country from the select box. This triggers the function getCityList()
  • Ajax executes the file getCities.php to get a list of cities from the selected country
  • The script executes the response from Ajax, i.e. creates a list of cities in the second select box

 



Average Visitor Rating: 3.75 (Out of 5)
Number of ratings: 4

Select your rating
Excellent
Good
Average
Fair
Poor
There are 225 free ajax scripts and 31 categories in our directory





Lost Password?
No account yet? Register
We have 6 guests online