Select option list - Korea North

Download the code, which will list the names of DPRK Provinces (do) & Municipalities (Si) or divisions select drop down list.

Two methods of coding are displayed. One using javascript array and the other using simple plain html option list.

Features

  • HTML option list to show the divisions (states / provinces / counties / municipalities / parishes / districts / regions) of the country Korea North .
  • 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
<!-- Script by hscripts.com -->
<select name=slist>
<script language="javascript">
var states = new Array("Chagang", "North Hamgyong", "South Hamgyong", "North Hwanghae", "South Hwanghae", "Kangwon", "North P'yongan", "South P'yongan", "Yanggang", "Kaesong", "Najin", "Namp'o", "Pyongyang");

for(var hi=0; hi<states.length; hi++)
document.write("<option value=\""+states[hi]+"\">"+states[hi]+"</option>");
</script>
</select>
<!-- Script by hscripts.com -->

Method II: HTML Option List
<!-- Script by hscripts.com -->
<select name=slist>
<option value="Chagang">Chagang</option>
<option value="North Hamgyong">North Hamgyong</option>
<option value="South Hamgyong">South Hamgyong</option>
<option value="North Hwanghae">North Hwanghae</option>
<option value="South Hwanghae">South Hwanghae</option>
<option value="Kangwon">Kangwon</option>
<option value="North P'yongan">North P'yongan</option>
<option value="South P'yongan">South P'yongan</option>
<option value="Yanggang">Yanggang</option>
<option value="Kaesong">Kaesong</option>
<option value="Najin">Najin</option>
<option value="Namp'o">Namp'o</option>
<option value="Pyongyang">Pyongyang</option>
</select>
<!-- Script by hscripts.com -->

Usage

  • Just copy the code into your pages to list the Korea North Provinces (do) & Municipalities (Si) 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