Select option list - World

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

  • HTML option list to show the divisions (states / provinces / counties / municipalities / parishes / districts / regions) of the country World .
  • Javascript method which reduces the lines of code and uses array.
  • Easy to edit and add the list.

Preview

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.

Related Scripts

Free Javascript Scripts


Ask Questions

Ask Question