#php and ajax based dropdown list of country, state and city A simple oops based php and ajax country state city dropdown list
Technology Used: PHP, Mysql, Jquery
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>
All Credit Goes to iamrohit.in
Demo Link: http://www.iamrohit.in/tag/php-ajax-country-state-city-dropdown