How to use?
Unzip and get the .js file
2. Put this code between your <HEAD> and </HEAD> section:
3. Put this code between your <BODY> and </BODY> section:
If you only want Country list to appear on the page, Simply use following bit of code in Body section:
You’ve to pass the ID of <select> element in print_country function, which actually prints the names of the countries.
Disclaimer: I’ve collected the names of countries and states from internet, and of course, cannot authenticate their validity!