Simple relative javascript List of cities and provinces of Iran with <select>
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.