① 网页制作问题如何把各省市县连接起来
定义子类。。。XX省下的市全部在该分项内
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>关联选择</title>
</head>
<body onload="SelectCity();selectarea();">
<p></p>
<form name="form1">
<select name="sel" onchange="selectarea();">
<option selected value="">-选择地区-</option>
<option value="00">华北地区</option>
<option value="01">华东地区</option>
<option value="02">华南地区</option>
<option value="03">华西北地区</option>
<option value="04">华东南地区</option>
<option value="05">华东北地区</option>
<option value="06">华西南地区</option>
<option value="07">华中地区</option>
</select>
<select onchange="SelectCity();" name="selarea">
<option selected value=>-省/直辖市-</option>
</select> <select name="city">
<option value selected>-地区/城市-</option>
</select></form>
<script language="javascript">
var thecity = new Array("0000北京市","0100天津市","0200 秦皇岛市","0201沧州市","0202廊坊市","0203衡水市","0204石家庄市",
"0205邯郸市","0206邢台市","0207保定市","0208张家口市","0209承德市","0210唐山市","0300太原市","0301大同市",
"0302阳泉市","0303长治市","0304晋城市","0305朔州市","0306忻州地区","0307晋中地区","0308吕梁地区",
"0309临汾地区","0310运城地区","0400呼和浩特市","0401包头市","0402乌海市","0403赤峰市","0404乌兰察布盟",
"0405锡林郭勒盟","0406呼伦贝尔盟","0407哲里木盟","0408巴彦淖尔盟","0409伊克昭盟","0410阿拉善盟",
"0411兴安盟","0500沈阳市","0501大连市","0502鞍山市","0503抚顺市","0504本溪市","0505丹东市","0506锦州市",
"0507葫芦岛市","0508营口市","0509盘锦市","0510阜新市","0511辽阳市","0512铁岭市","0513朝阳市","0600长春市",
"0601吉林市","0602四平市","0603辽源市","0604通化市","0605白山市","0606松原市","0607白城市","0608延边自治州",
"0700哈尔滨市","0701齐齐哈尔市","0702鹤岗市","0703双鸭山市","0704鸡西市","0705大庆市","0706伊春市",
"0707牡丹江市","0708佳木斯市","0709七台河市","0710黑河市","0711绥化地区","0712大兴安岭地区","0800上海市",
"0900南京市","0901徐州市","0902连云港市","0903淮阴市","0904宿迁市","0905盐城市","0906扬州市","0907泰州市",
"0908南通市","0909镇江市","0910常州市","0911无锡市","0912苏州市","1000杭州市","1001宁波市","1002温州市",
"1003嘉兴市","1004湖州市","1005绍兴市","1006金华市","1007衢州市","1008舟山市","1009台州市","1010丽水地区",
"1100淮北市","1101芜湖市","1102铜陵市","1103蚌端口市","1104马鞍山市","1105安庆市","1106黄山市","1107滁州市",
"1108阜阳市","1109宿州市","1110安徽省直辖市","1111巢湖地区","1112宣城地区","1113池州地区","1114六安地区",
"1115合肥市","1116淮南市","1200福州市","1201厦门市","1202三明市","1203莆田市","1204泉州市","1205漳州市",
"1206南平市","1207龙岩市","1208宁德地区","1300南昌市","1301景德镇市","1302萍乡市","1303新余市","1304九江市",
"1305鹰谭市","1306赣州市","1307上饶地区","1308宜春地区","1309抚州地区","1310吉安地区","1400济南市",
"1401青岛市","1402淄博市","1403枣庄市","1404东营市","1405潍坊市","1406烟台市","1407威海市","1408济宁市",
"1409泰安市","1410日照市","1411莱芜市","1412德州市","1413临沂市","1414聊城市","1415滨州地区","1416菏泽地区",
"1500郑州市","1501开封市","1502洛阳市","1503平顶山市","1504焦作市","1505鹤壁市","1506新乡市","1507安阳市",
"1508濮阳市","1509许昌市","1510漯河市","1511山门峡市","1512南阳市","1513商丘市","1514信阳市",
"1515河南省直辖区","1516周口地区","1517驻马店地区","1600武汉市","1601黄石市","1602襄樊市","1603十堰市",
"1604荆州市","1605宜昌市","1606鄂州市","1607孝感市","1608黄冈市","1609咸宁市","1610湖北省直辖区",
"1611荆门市","1612恩施自治州","1700长沙市","1701株洲市","1702湘潭市","1703衡阳市","1704邵阳市",
"1705岳阳市","1706常德市","1707张家界市","1708湘西自治州","1709郴州市","1710益阳市","1711永州市","1712怀化市",
"1713娄底地区","1800广州市","1801深圳市","1802珠海市","1803汕头市","1804韶关市","1805河源市","1806梅州市",
"1807惠州市","1808汕尾市","1809东莞市","1810中山市","1811江门市","1812佛山市","1813阳江市","1814湛江市",
"1815茂名市","1816肇庆市","1817云浮市","1818清远市","1819潮州市","1820揭阳市","1900南宁市","1901柳州市",
"1902桂州市","1903梧州市","1904北海市","1905防城港市","1906钦州市","1907贵港市","1908玉林市","1909南宁地区",
"1910柳州地区","1911贺州地区","1912百色地区","1913河池地区","2000海口市","2001三亚市","2002文昌市",
"2003儋州市","2004琼海市","2005东方市","2006海南省直辖区","2100重庆市","2200成都市","2201自贡市",
"2202攀枝花市","2203泸州市","2204德阳市","2205广元市","2206遂宁市","2207内江市","2208乐山市","2209南充市",
"2210绵阳市","2211宜宾市","2212广安市","2213达川市","2214巴中地区","2215雅安地区","2216眉山地区",
"2217资阳地区","2218阿坝自治洲","2219甘孜自治州","2220凉山自治州","2300贵阳市","2301六盘水市","2302遵义市",
"2303侗仁地区","2304毕节地区","2305安顺地区","2306黔西南自治州","2307黔东南自治州","2308黔南自治州",
"2400昆明市","2401曲靖市","2402玉溪市","2403昭通地区","2404思茅地区","2405临沧地区