Download the code, which will list the names of World Countries or divisions
as select option.
Two mehods of coding are displayed one using javascript array and other the
simple plain html option list.
Features
a) HTML option list to show the the countries of the world as option list.
b) Javascript method which reduces the lines of code and uses array.
c) Easy to edit and add the list.
d) Note: Overseas territories have not been included.
Preview
WORLD Countries Select Option List
List showing divisions of each country can be downloaded at
Country Divisions
Code
Method I: Using Javascript Array
Method II: HTML Option List
Usage
Just copy the code into your pages to list the World Countries as javascript drop down list.
The countries are usually divided as states or provinces or counties or
municipalities or parishes or districts or regions.
License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.