Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript 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 May 11th, 2009, 05:38 AM
Registered User
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default dropdownlist for country,state and city in javascript

need a open source for dropdownlist for country,state and city as same as in below link

http://www.genuinematrimony.com/register.php
 
Old May 11th, 2009, 03:01 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

That site does *NOT* use country/state/city drop downs. The city is free form text field, not a drop down.

This is a relatively easy thing to do in JavaScript, but the problem is finding an open source list of all the countries with all their states. You do that, we can help you with the rest.

Whether you do this all in JS code, without needing AJAX or similar, will depend on the total number of *states* in all the countries on your list. I would say if you have no more than about 1000 states, total, then you can do it 100% on the client with no need for any server-side code, including AJAX.





Similar Threads
Thread Thread Starter Forum Replies Last Post
select country in drop down and state accordingly vinodonline2000 ASP.NET 2.0 Basics 4 September 11th, 2007 09:42 AM
selective validation Country/State dsmportal ASP.NET 2.0 Professional 3 August 9th, 2006 04:01 PM
selective validation Country/State dsmportal ASP.NET 1.0 and 1.1 Professional 0 August 3rd, 2006 12:35 PM
User's Exact Location (Country, City, Continent) hunzian78@yahoo.com ASP.NET 1.0 and 1.1 Professional 3 March 8th, 2006 12:49 AM
Tip! Drop down "State", "Country" selections larry HTML Code Clinic 0 January 1st, 2004 11:23 AM





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