<body>
省份:
<select id="province">
<option value="">请选择</option>
<option value="吉林省">吉林省</option>
<option value="辽宁省">辽宁省</option>
<option value="山东省">山东省</option>
</select>
城市:
<select id="city">
<option value="">请选择</option>
</select>
</select>
</body>
<script type="text/javascript">
document.getElementById("province").οnchange=function(){
var city= document.getElementById("city");
var options=city.getElementsByTagName("option");
var len=options.length;
for(var z=1;z<len;z++){
city.removeChild(options[1]);
}
var provinceValue = this.value;
var cityArr;
if(provinceValue=="吉林省