Skip to content

Simple relative javascript List of cities and provinces of Iran

Notifications You must be signed in to change notification settings

arashmehrani/Iran-City-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Iran cities and provinces javascript List

Simple relative javascript List of cities and provinces of Iran with <select>

How to use:

1- include city.js javascript file in your HTML document.

2- you need <select name="state" onChange="irancitylist(this.value);"> for list of provinces! the value of every provinces should be equal to name of that provinces. (you can find example in index.html).

3- you need <select name="city" id="city"> for list of cities! cities of that province will be visible after one province has been selected.

About

Simple relative javascript List of cities and provinces of Iran

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published