A javacript based API for use in forms to list out countries, their corresponding states and their corresponding cities.
- Download citypreet.js file and include it AT THE END of your document
- <script type = "text/javascript" src = "cityseek.js"></script>
- Create three <select> boxes
- <select id = "countries"></select> <!-- For selectbox that would list out countries -->
- <select id = "states"></select> <!-- For selectbox that would list out states -->
- <select id = "cities"></select> <!-- For selectbox that would list out cities -->
- Let citypreet.js do the rest! # Contribute Lists of all states of all countries have been listed out, but cities of many of those states are not yet listed.