Skip to content

RifqiSec/Countries-States-Cities-database

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Database

Copy and paste below script to add city state country list in your website

<select name="country" class="countries" id="countryId">
<option value="">Select Country</option>
</select>
<select name="state" class="states" id="stateId">
<option value="">Select State</option>
</select>
<select name="city" class="cities" id="cityId">
<option value="">Select City</option>
</select>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://lab.iamrohit.in/js/location.js"></script>

Download full source code: http://www.iamrohit.in/tag/php-ajax-country-state-city-dropdown

#Note: *This Free database dose not guarantee for the complete list of world countries, states and cities.

*You can manually change the spelling mistakes, or add edit any records, which are not correct.