1. 程式人生 > >兩個列表二級聯動

兩個列表二級聯動

<script language="JavaScript">
<!--
var g_selProvince;
var g_selCity;
var Provinces
=newArray(newArray("110000","北京市"),newArray("120000","天津市"),newArray("130000","河北省"),newArray("140000","山西省"),newArray("150000","內蒙古自治區"),newArray("210000","遼寧省"),newArray("220000","吉林省"),newArray("230000","黑龍江省"),newArray("310000","上海市"),newArray(
"320000","江蘇省"),newArray("330000","浙江省"),newArray("340000","安徽省"),newArray("350000","福建省"),newArray("360000","江西省"),newArray("370000","山東省"),newArray("410000","河南省"),newArray("420000","湖北省"),newArray("430000","湖南省"),newArray("440000","廣東省"),newArray("450000","廣西壯族自治區"),newArray("460000","海南省"),newArray("500000","重慶市"),newArray("510000","四川省"),newArray("520000
","貴州省"),newArray("530000","雲南省"),newArray("540000","西藏自治區"),newArray("610000","陝西省"),newArray("620000","甘肅省"),newArray("630000","青海省"),newArray("640000","寧夏回族自治區"),newArray("650000","新疆維吾爾自治區"),newArray("710000","臺灣省"),newArray("810000","香港特別行政區"),newArray("820000","澳門特別行政區"));
var Citys
=newArray(newArray("110100","北京"),newArray("120100","天津"),
newArray("130101","石家莊"),newArray("130201","唐山"),newArray("130301","秦皇島"),newArray("130701","張家口"),newArray("130801","承德"),newArray("131001","廊坊"),newArray("130401","邯鄲"),newArray("130501","邢臺"),newArray("130601","保定"),newArray("130901","滄州"),newArray("133001","衡水"),newArray("140101","太原"),newArray("140201","大同"),newArray("140301","陽泉"),newArray("140501","晉城"),newArray("140601","朔州"),newArray("142201","忻州"),newArray("142331","離石"),newArray("142401","榆次"),newArray("142601","臨汾"),newArray("142701","運城"),newArray("140401","長治"),newArray("150101","呼和浩特"),newArray("150201","包頭"),newArray("150301","烏海"),newArray("152601","集寧"),newArray("152701","東勝"),newArray("152801","臨河"),newArray("152921","阿拉善左旗"),newArray("150401","赤峰"),newArray("152301","通遼"),newArray("152502","錫林浩特"),newArray("152101","海拉爾"),newArray("152201","烏蘭浩特"),newArray("210101","瀋陽"),newArray("210201","大連"),newArray("210301","鞍山"),newArray("210401","撫順"),newArray("210501","本溪"),newArray("210701","錦州"),newArray("210801","營口"),newArray("210901","阜新"),newArray("211101","盤錦"),newArray("211201","鐵嶺"),newArray("211301","朝陽"),newArray("211401","錦西"),newArray("210601","丹東"),newArray("220101","長春"),newArray("220201","吉林"),newArray("220301","四平"),newArray("220401","遼源"),newArray("220601","渾江"),newArray("222301","白城"),newArray("222401","延吉"),newArray("220501","通化"),newArray("230101","哈爾濱"),newArray("230301","雞西"),newArray("230401","鶴崗"),newArray("230501","雙鴨山"),newArray("230701","伊春"),newArray("230801","佳木斯"),newArray("230901","七臺河"),newArray("231001","牡丹江"),newArray("232301","綏化"),newArray("230201","齊齊哈爾"),newArray("230601","大慶"),newArray("232601","黑河"),newArray("232700","加格達奇"),newArray("310100","上海"),newArray("320101","南京"),newArray("320201","無錫"),newArray("320301","徐州"),newArray("320401","常州"),newArray("320501","蘇州"),newArray("320600","南通"),newArray("320701","連雲港"),newArray("320801","淮陰"),newArray("320901","鹽城"),newArray("321001","揚州"),newArray("321101","鎮江"),newArray("330101","杭州"),newArray("330201","寧波"),newArray("330301","溫州"),newArray("330401","嘉興"),newArray("330501","湖州"),newArray("330601","紹興"),newArray("330701","金華"),newArray("330801","衢州"),newArray("330901","舟山"),newArray("332501","麗水"),newArray("332602","臨海"),newArray("340101","合肥"),newArray("340201","蕪湖"),newArray("340301","蚌埠"),newArray("340401","淮南"),newArray("340501","馬鞍山"),newArray("340601","淮北"),newArray("340701","銅陵"),newArray("340801","安慶"),newArray("341001","黃山"),newArray("342101","阜陽"),newArray("342201","宿州"),newArray("342301","滁州"),newArray("342401","六安"),newArray("342501","宣州"),newArray("342601","巢湖"),newArray("342901","貴池"),newArray("350101","福州"),newArray("350201","廈門"),newArray("350301","莆田"),newArray("350401","三明"),newArray("350501","泉州"),newArray("350601","漳州"),newArray("352101","南平