jQuery实现的省市县三级联动菜单效果完整实例
时间:03月15日

本文实例讲述了jQuery实现的省市县三级联动菜单效果。分享给大家供大家参考,具体如下:

运行效果截图如下:

具体代码如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题页</title>
<script src="jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
   var arrySheng;
   var arryShi ;
   var arryXian ;
   var areaSelect = {
      slt_sheng : $('<select>',{name:"sheng"}),
      slt_shi : $('<select>',{name:"shi"}),
      slt_xian : $('<select>',{name:"xian"}),
      strSheng : "北京市,110000|天津市,120000|河北省,130000|山西省,140000|内蒙古自治区,150000|辽宁省,210000|吉林省,220000|黑龙江省,230000|上海市,310000|江苏省,320000|浙江省,330000|安徽省,340000|福建省,350000|江西省,360000|山东省,370000|河南省,410000|湖北省,420000|湖南省,430000|广东省,440000|广西壮族自治区,450000|海南省,460000|重庆市,500000|四川省,510000|贵州省,520000|云南省,530000|西藏自治区,540000|陕西省,610000|甘肃省,620000|青海省,630000|宁夏回族自治区,640000|新疆维吾尔自治区,650000|台湾省,710000|香港特别行政区,810000",
      strShi : "市辖区,110100|县,110200|市辖区,120100|县,120200|石家庄市,130100|唐山市,130200|秦皇岛市,130300|邯郸市,130400|邢台市,130500|保定市,130600|张家口市,130700|承德市,130800|沧州市,130900|廊坊市,131000|衡水市,131100|太原市,140100|大同市,140200|阳泉市,140300|长治市,140400|晋城市,140500|朔州市,140600|忻州地区,142200|吕梁地区,142300|晋中地区,142400|临汾地区,142600|运城地区,142700|呼和浩特市,150100|包头市,150200|乌海市,150300|赤峰市,150400|呼伦贝尔盟,152100|兴安盟,152200|哲里木盟,152300|锡林郭勒盟,152500|乌兰察布盟,152600|伊克昭盟,152700|巴彦淖尔盟,152800|阿拉善盟,152900|沈阳市,210100|大连市,210200|鞍山市,210300|抚顺市,210400|本溪市,210500|丹东市,210600|锦州市,210700|营口市,210800|阜新市,210900|辽阳市,211000|盘锦市,211100|铁岭市,211200|朝阳市,211300|葫芦岛市,211400|长春市,220100|吉林市,220200|四平市,220300|辽源市,220400|通化市,220500|白山市,220600|松原市,220700|白城市,220800|延边朝鲜族自治州,222400|哈尔滨市,230100|齐齐哈尔市,230200|鸡西市,230300|鹤岗市,230400|双鸭山市,230500|大庆市,230600|伊春市,230700|佳木斯市,230800|七台河市,230900|牡丹江市,231000|黑河市,231100|绥化地区,232300|大兴安岭地区,232700|市辖区,310100|县,310200|南京市,320100|无锡市,320200|徐州市,320300|常州市,320400|苏州市,320500|南通市,320600|连云港市,320700|淮阴市,320800|盐城市,320900|扬州市,321000|镇江市,321100|泰州市,321200|宿迁市,321300|杭州市,330100|宁波市,330200|温州市,330300|嘉兴市,330400|湖州市,330500|绍兴市,330600|金华市,330700|衢州市,330800|舟山市,330900|台州市,331000|丽水地区,332500|合肥市,340100|芜湖市,340200|蚌埠市,340300|淮南市,340400|马鞍山市,340500|淮北市,340600|铜陵市,340700|安庆市,340800|黄山市,341000|滁州市,341100|阜阳市,341200|宿州市,341300|六安地区,342400|宣城地区,342500|巢湖地区,342600|池州地区,342900|福州市,350100|厦门市,350200|莆田市,350300|三明市,350400|泉州市,350500|漳州市,350600|南平市,350700|龙岩市,350800|宁德地区,352200|南昌市,360100|景德镇市,360200|萍乡市,360300|九江市,360400|新余市,360500|赣州市,360700|宜春地区,362200|上饶地区,362300|吉安地区,362400|抚州地区,362500|济南市,370100|青岛市,370200|淄博市,370300|枣庄市,370400|东营市,370500|烟台市,370600|潍坊市,370700|济宁市,370800|泰安市,370900|威海市,371000|日照市,371100|莱芜市,371200|临沂市,371300|德州市,371400|聊城市,371500|滨州地区,372300|荷泽地区,372900|郑州市,410100|开封市,410200|洛阳市,410300|平顶山市,410400|安阳市,410500|鹤壁市,410600|新乡市,410700|焦作市,410800|濮阳市,410900|许昌市,411000|漯河市,411100|三门峡市,411200|南阳市,411300|商丘市,411400|信阳市,411500|周口地区,412700|驻马店地区,412800|武汉市,420100|黄石市,420200|十堰市,420300|宜昌市,420500|襄樊市,420600|鄂州市,420700|荆门市,420800|孝感市,420900|荆州市,421000|黄冈市,421100|咸宁市,421200|恩施土家族苗族自治州,422800|省直辖县级行政单位,429000|长沙市,430100|株洲市,430200|湘潭市,430300|衡阳市,430400|邵阳市,430500|岳阳市,430600|常德市,430700|张家界市,430800|益阳市,430900|郴州市,431000|永州市,431100|怀化市,431200|娄底地区,432500|湘西土家族苗族自治州,433100|广州市,440100|韶关市,440200|深圳市,440300|珠海市,440400|汕头市,440500|佛山市,440600|江门市,440700|湛江市,440800|茂名市,440900|肇庆市,441200|惠州市,441300|梅州市,441400|汕尾市,441500|河源市,441600|阳江市,441700|清远市,441800|东莞市,441900|中山市,442000|潮州市,445100|揭阳市,445200|云浮市,445300|南宁市,450100|柳州市,450200|桂林市,450300|梧州市,450400|北海市,450500|防城港市,450600|钦州市,450700|贵港市,450800|玉林市,450900|南宁地区,452100|柳州地区,452200|贺州地区,452400|百色地区,452600|河池地区,452700|海口市,460100|三亚市,460200|市辖区,500100|县,500200|市,500300|成都市,510100|自贡市,510300|攀枝花市,510400|泸州市,510500|德阳市,510600|绵阳市,510700|广元市,510800|遂宁市,510900|内江市,511000|乐山市,511100|南充市,511300|宜宾市,511500|广安市,511600|达川地区,513000|雅安地区,513100|阿坝藏族羌族自治州,513200|甘孜藏族自治州,513300|凉山彝族自治州,513400|巴中地区,513700|眉山地区,513800|资阳地区,513900|贵阳市,520100|六盘水市,520200|遵义市,520300|铜仁地区,522200|黔西南布依族苗族自治州,522300|毕节地区,522400|安顺地区,522500|黔东南苗族侗族自治州,522600|黔南布依族苗族自治州,522700|昆明市,530100|曲靖市,530300|玉溪市,530400|昭通地区,532100|楚雄彝族自治州,532300|红河哈尼族彝族自治州,532500|文山壮族苗族自治州,532600|思茅地区,532700|西双版纳傣族自治州,532800|大理白族自治州,532900|保山地区,533000|德宏傣族景颇族自治州,533100|丽江地区,533200|怒江傈僳族自治州,533300|迪庆藏族自治州,533400|临沧地区,533500|拉萨市,540100|昌都地区,542100|山南地区,542200|日喀则地区,542300|那曲地区,542400|阿里地区,542500|林芝地区,542600|西安市,610100|铜川市,610200|宝鸡市,610300|咸阳市,610400|渭南市,610500|延安市,610600|汉中市,610700|安康地区,612400|商洛地区,612500|榆林地区,612700|兰州市,620100|嘉峪关市,620200|金昌市,620300|白银市,620400|天水市,620500|酒泉地区,622100|张掖地区,622200|武威地区,622300|定西地区,622400|陇南地区,622600|平凉地区,622700|庆阳地区,622800|临夏回族自治州,622900|甘南藏族自治州,623000|西宁市,630100|海东地区,632100|海北藏族自治州,632200|黄南藏族自治州,632300|海南藏族自治州,632500|果洛藏族自治州,632600|玉树藏族自治州,632700|海西蒙古族藏族自治州,632800|银川市,640100|石嘴山市,640200|吴忠市,640300|固原地区,642200|乌鲁木齐市,650100|克拉玛依市,650200|吐鲁番地区,652100|哈密地区,652200|昌吉回族自治州,652300|博尔塔拉蒙古自治州,652700|巴音郭楞蒙古族自治州,652800|阿克苏地区,652900|克孜勒苏柯尔克孜自治州,653000|喀什地区,653100|和田地区,653200|伊犁哈萨克自治州,654000|伊犁地区,654100|塔城地区,654200|阿勒泰地区,654300|直辖行政单位,659000",
      strXian : "东城区,110101|西城区,110102|崇文区,110103|宣武区,110104|朝阳区,110105|丰台区,110106|石景山区,110107|海淀区,110108|门头沟区,110109|房山区,110111|通州区,110112|顺义区,110113|昌平区,110114|大兴区,110115|平谷区,110117|怀柔区,110116|密云县,110228|延庆县,110229|和平区,120101|河东区,120102|河西区,120103|南开区,120104|河北区,120105|红桥区,120106|塘沽区,120107|汉沽区,120108|大港区,120109|东丽区,120110|西青区,120111|津南区,120112|北辰区,120113|宁河县,120221|武清区,120114|静海县,120223|宝坻区,120115|蓟县,120225|市辖区,130101|长安区,130102|桥东区,130103|桥西区,130104|新华区,130105|郊区,130106|井陉矿区,130107|井陉县,130121|正定县,130123|栾城县,130124|行唐县,130125|灵寿县,130126|高邑县,130127|沈泽县,130128|赞皇县,130129|无极县,130130|平山县,130131|元氏县,130132|赵县,130133|辛集市,130181|藁城市,130182|晋州市,130183|新乐市,130184|鹿泉市,130185|市辖区,130201|路南区,130202|路北区,130203|古冶区,130204|开平区,130205|新区,130206|丰润县,130221|滦县,130223|滦南县,130224|乐亭县,130225|迁西县,130227|玉田县,130229|唐海县,130230|遵化市,130281|丰南市,130282|迁安市,130283|市辖区,130301|海港区,130302|山海关区,130303|北戴河区,130304|青龙满族自治县,130321|昌黎县,130322|抚宁县,130323|卢龙县,130324|市辖区,130401|邯山区,130402|丛台区,130403|复兴区,130404|峰峰矿区,130406|邯郸县,130421|临漳县,130423|成安县,130424|大名县,130425|涉县,130426|磁县,130427|肥乡县,130428|永年县,130429|邱县,130430|鸡泽县,130431|广平县,130432|馆陶县,130433|魏县,130434|曲周县,130435|武安市,130481|市辖区,130501|桥东区,130502|桥西区,130503|邢台县,130521|临城县,130522|内丘县,130523|柏乡县,130524|隆尧县,130525|任县,130526|南和县,130527|宁晋县,130528|巨鹿县,130529|新河县,130530|广宗县,130531|平乡县,130532|威县,130533|清河县,130534|临西县,130535|南宫市,130581|沙河市,130582|市辖区,130601|新市区,130602|北市区,130603|南市区,130604|满城县,130621|清苑县,130622|涞水县,130623|阜平县,130624|徐水县,130625|定兴县,130626|唐县,130627|高阳县,130628|容城县,130629|涞源县,130630|望都县,130631|安新县,130632|易县,130633|曲阳县,130634|蠡县,130635|顺平县,130636|博野县,130637|雄县,130638|涿州市,130681|定州市,130682|安国市,130683|高碑店市,130684|市辖区,130701|桥东区,130702|桥西区,130703|宣化区,130705|下花园区,130706|宣化县,130721|张北县,130722|康保县,130723|沽原县,130724|尚义县,130725|蔚县,130726|阳原县,130727|怀安县,130728|万全县,130729|怀来县,130730|涿鹿县,130731|赤城县,130732|崇礼县,130733|市辖区,130801|双桥区,130802|双滦区,130803|鹰手营子矿区,130804|承德县,130821|兴隆县,130822|平泉县,130823|滦平县,130824|隆化县,130825|丰宁满族自治县,130826|宽城满族自治县,130827|围场满族蒙古族自治县,130828|市辖区,130901|新华区,130902|运河区,130903|沧县,130921|青县,130922|东光县,130923|海兴县,130924|盐山县,130925|肃宁县,130926|南皮县,130927|吴桥县,130928|献县,130929|孟村回族自治县,130930|泊头市,130981|任丘市,130982|黄骅市,130983|河间市,130984|市辖区,131001|安次区,131002|固安县,131022|永清县,131023|香河县,131024|大城县,131025|文安县,131026|大厂回族自治县,131028|霸州市,131081|三河市,131082|市辖区,131101|桃城区,131102|枣强县,131121|武邑县,131122|武强县,131123|饶阳县,131124|安平县,131125|故城县,131126|景县,131127|阜城县,131128|冀州市,131181|深州市,131182|市辖区,140101|小店区,140105|迎泽区,140106|杏花岭区,140107|尖草坪区,140108|万柏林区,140109|晋源区,140110|清徐县,140121|阳曲县,140122|娄烦县,140123|古交市,140181|市辖区,140201|城区,140202|矿区,140203|南郊区,140211|新荣区,140212|阳高县,140221|天镇县,140222|广灵县,140223|灵丘县,140224|浑源县,140225|左云县,140226|大同县,140227|市辖区,140301|城区,140302|矿区,140303|郊区,140311|平定县,140321|盂县,140322|市辖区,140401|城区,140402|郊区,140411|长治县,140421|襄垣县,140423|屯留县,140424|平顺县,140425|黎城县,140426|壶关县,140427|长子县,140428|武乡县,140429|沁县,140430|沁源县,140431|潞城市,140481|市辖区,140501|城区,140502|沁水县,140521|阳城县,140522|陵川县,140524|泽州县,140525|高平市,140581|市辖区,140601|朔城区,140602|平鲁区,140603|山阴县,140621|应县,140622|右玉县,140623|怀仁县,140624|忻州市,142201|原平市,142202|定襄县,142222|五台县,142223|代县,142225|繁峙县,142226|宁武县,142227|静乐县,142228|神池县,142229|五寨县,142230|苛岚县,142231|河曲县,142232|保德县,142233|偏关县,142234|孝义市,142301|离石市,142302|汾阳市,142303|文水市,142322|交城县,142323|兴县,142325|临县,142326|柳林县,142327|石楼县,142328|岚县,142329|方山县,142330|中阳县,142332|交口县,142333|榆次市,142401|介休市,142402|榆社县,142421|左权县,142422|和顺县,142423|昔阳县,142424|寿阳县,142427|太谷县,142429|祁县,142430|平遥县,142431|灵石县,142433|临汾市,142601|侯马市,142602|霍州市,142603|曲沃县,142621|翼城县,142622|襄汾县,142623|洪洞县,142625|古县,142627|安泽县,142628|浮山县,142629|吉县,142630|乡宁县,142631|浦县,142632|大宁县,142633|永和县,142634|隰县,142635|汾西县,142636|运城市,142701|永济市,142702|河津市,142703|芮城县,142723|临猗县,142724|万荣县,142725|新绛县,142726|稷山县,142727|闻喜县,142729|夏县,142730|绛县,142731|平陆县,142732|垣曲县,142733|市辖区,150101|新城区,150102|回民区,150103|玉泉区,150104|郊区,150105|土默特左旗,150121|托克托县,150122|和林格尔县,150123|清水河县,150124|武川县,150125|市辖区,150201|东河区,150202|昆都伦区,150203|青山区,150204|石拐矿区,150205|白云矿区,150206|郊区,150207|土默特右旗,150221|固阳县,150222|达尔罕茂明安联合旗,150223|市辖区,150301|海勃湾区,150302|海南区,150303|乌达区,150304|市辖区,150401|红山区,150402|元宝山区,150403|松山区,150404|阿鲁科尔沁旗,150421|巴林左旗,150422|巴林右旗,150423|林西县,150424|克什克腾旗,150425|翁牛特旗,150426|喀喇沁旗,150428|宁城县,150429|敖汉旗,150430|海拉尔市,152101|满洲里市,152102|扎兰屯市,152103|牙克石市,152104|根河市,152105|额尔古纳市,152106|阿荣旗,152122|莫力达瓦达斡尔族自治旗,152123|鄂伦春自治旗,152127|鄂温克族自治旗,152128|新巴尔虎右旗,152129|新巴尔虎左旗,152130|陈巴尔虎旗,152131|乌兰浩特市,152201|阿尔山市,152202|科尔沁右翼前旗,152221|科尔沁右翼中旗,152222|扎赉特旗,152223|突泉县,152224|通辽市,152301|霍林郭勒市,152302|科尔沁左翼中旗,152322|科尔沁左翼后旗,152323|开鲁县,152324|库伦旗,152325|奈曼旗,152326|扎鲁特旗,152327|二连浩特市,152501|锡林浩特市,152502|阿巴嘎旗,152522|苏尼特左旗,152523|苏尼特右旗,152524|东乌珠穆沁旗,152525|西乌珠穆沁旗,152526|太仆寺旗,152527|镶黄旗,152528|正镶白旗,152529|正蓝旗,152530|多伦县,152531|集宁市,152601|丰镇市,152602|卓资县,152624|化德县,152625|商都县,152626|兴和县,152627|凉城县,152629|察哈尔右翼前旗,152630|察哈尔右翼中旗,152631|察哈尔右翼后旗,152632|四子王旗,152634|东胜市,152701|达拉特旗,152722|准格尔旗,152723|鄂托克前旗,152724|鄂托克旗,152725|杭锦旗,152726|乌审旗,152727|伊金霍洛旗,152728|临河市,152801|五原县,152822|磴口县,152823|乌拉特前旗,152824|乌拉特中旗,152825|乌拉特后旗,152826|杭锦后旗,152827|阿拉善左旗,152921|阿拉善右旗,152922|额济纳旗,152923|市辖区,210101|和平区,210102|沈河区,210103|大东区,210104|皇姑区,210105|铁西区,210106|苏家屯区,210111|东陵区,210112|新城子区,210113|于洪区,210114|辽中县,210122|康平县,210123|法库县,210124|新民市,210181|市辖区,210201|中山区,210202|西岗区,210203|沙河口区,210204|甘井子区,210211|旅顺口区,210212|金州区,210213|长海县,210224|瓦房店市,210281|普兰店市,210282|庄河市,210283|市辖区,210301|铁东区,210302|铁西区,210303|立山区,210304|千山区,210311|台安县,210321|岫岩满族自治县,210323|海城市,210381|市辖区,210401|新抚区,210402|露天区,210403|望花区,210404|顺城区,210411|抚顺县,210421|新宾满族自治区,210422|清原满族自治区,210423|市辖区,210501|平山区,210502|溪湖区,210503|明山区,210504|南芬区,210505|本溪满族自治县,210521|桓仁满族自治县,210522|市辖区,210601|元宝区,210602|振兴区,210603|振安区,210604|宽甸满族自治县,210624|东港市,210681|凤城市,210682|市辖区,210701|古塔区,210702|凌河区,210703|太河区,210711|黑山县,210726|义县,210727|凌海市,210781|北宁市,210782|市辖区,210801|站前区,210802|西市区,210803|鲅鱼圈区,210804|老边区,210811|盖州市,210881|大石桥市,210882|市辖区,210901|海州区,210902|新邱区,210903|太平区,210904|清河门区,210905|细河区,210911|阜新蒙古族自治县,210921|彰武县,210922|市辖区,211001|白塔区,211002|文圣区,211003|宏伟区,211004|弓长岭区,211005|太子河区,211011|辽阳县,211021|灯塔市,211081|市辖区,211101|双台子区,211102|兴隆台区,211103|大洼县,211121|盘山县,211122|市辖区,211201|银州区,211202|清河区,211204|铁岭县,211221|西丰县,211223|昌图县,211224|铁法市,211281|开原市,211282|市辖区,211301|双塔区,211302|龙城区,211303|朝阳县,211321|建平县,211322|喀喇沁左翼蒙古族自治县,211324|北票市,211381|凌源市,211382|市辖区,211401|连山区,211402|龙港区,211403|南票区,211404|绥中县,211421|建昌县,211422|兴城市,211481|市辖区,220101|南关区,220102|宽城区,220103|朝阳区,220104|二道区,220105|绿园区,220106|双阳区,220112|农安县,220122|九台市,220180|榆树市,220182|德惠市,220183|市辖区,220201|昌邑区,220202|龙潭区,220203|船营区,220204|丰满区,220211|永吉县,220221|蛟河市,220281|桦甸市,220282|舒兰市,220283|磐石市,220284|市辖区,220301|铁西区,220302|铁东区,220303|梨树县,220322|伊通满族自治县,220323|公主岭市,220381|双辽市,220382|市辖区,220401|龙山区,220402|西安区,220403|东丰县,220421|东辽县,220422|市辖区,220501|东昌区,220502|二道江区,220503|通化县,220521|辉南县,220523|柳河县,220524|梅河口市,220581|集安市,220582|市辖区,220601|八道江区,220602|抚松县,220621|靖宇县,220622|长白朝县族自治县,220623|江源县,220625|临江市,220681|市辖区,220701|宁江区,220702|前郭尔罗斯蒙古族自治县,220721|长岭县,220722|乾安县,220723|扶余县,220724|市辖区,220801|洮北区,220802|镇赉县,220821|通榆县,220822|洮南市,220881|大安市,220882|延吉市,222401|图们市,222402|敦化市,222403|珲春市,222404|龙井市,222405|和龙市,222406|汪清县,222424|安图县,222426|市辖区,230101|道里区,230102|南岗区,230103|道外区,230104|太平区,230105|香坊区,230106|动力区,230107|平房区,230108|呼兰县,230121|依兰县,230123|方正县,230124|宾县,230125|巴彦县,230126|木兰县,230127|通河县,230128|延寿县,230129|阿城市,230181|双城市,230182|尚志市,230183|五常市,230184|市辖区,230201|龙沙区,230202|建华区,230203|铁峰区,230204|昂昂溪区,230205|富拉尔基区,230206|碾子山区,230207|梅里斯达斡尔族,230208|龙江县,230221|依安县,230223|泰来县,230224|甘南县,230225|富裕县,230227|克山县,230229|克东县,230230|拜泉县,230231|讷河市,230281|市辖区,230301|鸡冠区,230302|恒山区,230303|滴道区,230304|梨树区,230305|城子河区,230306|麻山区,230307|鸡东县,230321|虎林市,230381|密山市,230382|市辖区,230401|向阳区,230402|工农区,230403|南山区,230404|兴安区,230405|东山区,230406|兴山区,230407|萝北县,230421|绥宾县,230422|市辖区,230501|尖山区,230502|岭东区,230503|四方台区,230505|宝山区,230506|集贤县,230521|友谊县,230522|宝清县,230523|饶河县,230524|市辖区,230601|萨尔图区,230602|龙凤区,230603|让胡路区,230604|红岗区,230605|大同区,230606|肇州县,230621|肇源县,230622|林甸县,230623|杜尔伯特蒙古族自治县,230624|市辖区,230701|伊春区,230702|南岔区,230703|友好区,230704|西林区,230705|翠峦区,230706|新青区,230707|美溪区,230708|金山屯区,230709|五营区,230710|乌马河区,230711|汤旺河区,230712|带岭区,230713|乌伊岭区,230714|红星区,230715|上甘岭区,230716|嘉阴县,230722|铁力市,230781|市辖区,230801|永红区,230802|向阳区,230803|前进区,230804|东风区,230805|郊区,230811|桦南县,230822|桦川县,230826|汤原县,230828|抚远县,230833|同江市,230881|富锦市,230882|市辖区,230901|新兴区,230902|桃山区,230903|茄子河区,230904|勃利县,230921|市辖区,231001|东安区,231002|阳明区,231003|爱民区,231004|西安区,231005|东宁县,231024|林口县,231025|绥芬河市,231081|海林市,231083|宁安市,231084|穆棱市,231085|市辖区,231101|爱辉区,231102|嫩江县,231121|逊克县,231123|孙吴县,231124|北安市,231181|五大连池市,231182|绥化市,232301|安达市,232302|肇东市,232303|海伦市,232304|望奎县,232324|兰西县,232325|青冈县,232326|庆安县,232330|明水县,232331|绥棱县,232332|呼玛县,232721|塔河县,232722|漠河县,232723|黄浦区,310101|卢湾区,310103|徐汇区,310104|长宁区,310105|静安区,310106|普陀区,310107|闸北区,310108|虹口区,310109|杨浦区,310110|闵行区,310112|宝山区,310113|嘉定区,310114|浦东新区,310115|金山区,310116|松江区,310117|南汇区,310119|奉贤区,310120|青浦区,310118|崇明县,310230|市辖区,320101|玄武区,320102|白下区,320103|秦淮区,320104|建邺区,320105|鼓楼区,320106|下关区,320107|浦口区,320111|大厂区,320112|栖霞区,320113|雨花台区,320114|江宁县,320121|江浦县,320122|六合县,320123|溧水县,320124|高淳县,320125|市辖区,320201|崇安区,320202|南长区,320203|北塘区,320204|郊区,320211|马山区,320212|江阴市,320281|宜兴市,320282|锡山市,320283|市辖区,320301|鼓楼区,320302|云龙区,320303|九里区,320304|贾汪区,320305|泉山区,320311|丰县,320321|沛县,320322|铜山县,320323|睢宁县,320324|新沂市,320381|邳州市,320382|市辖区,320401|天宁区,320402|钟楼区,320404|戚墅堰区,320405|郊区,320411|溧阳市,320481|金坛市,320482|武进市,320483|市辖区,320501|沧浪区,320502|平江区,320503|金阊区,320504|郊区,320511|常熟市,320581|张家港市,320582|昆山市,320583|吴江市,320584|太仓市,320585|吴县市,320586|市辖区,320601|崇川区,320602|港闸区,320611|海安县,320621|如东县,320623|启东市,320681|如皋市,320682|通州市,320683|海门市,320684|市辖区,320701|连云区,320703|云台区,320704|新浦区,320705|海州区,320706|赣榆县,320721|东海县,320722|灌云县,320723|灌南县,320724|市辖区,320801|清河区,320802|清浦区,320811|淮阴县,320821|涟水县,320826|洪泽县,320829|盱眙县,320830|金湖县,320831|淮安市,320882|市辖区,320901|城区,320902|响水县,320921|滨海县,320922|阜宁县,320923|射阳县,320924|建湖县,320925|盐都县,320928|东台市,320981|大丰市,320982|市辖区,321001|广陵区,321002|郊区,321011|宝应县,321023|邗江县,321027|仪征市,321081|高邮市,321084|江都市,321088|市辖区,321101|东口区,321102|润州区,321111|丹徒县,321121|丹阳市,321181|扬中市,321182|句容市,321183|市辖区,321201|海陵区,321202|高港区,321203|兴化市,321281|靖江市,321282|泰兴市,321283|姜堰市,321284|市辖区,321301|宿城区,321302|宿豫区,321321|沭阳县,321322|泗阳县,321323|泗洪县,321324|市辖区,330101|上城区,330102|下城区,330103|江干区,330104|拱墅区,330105|西湖区,330106|滨江区,330108|桐庐县,330122|淳安县,330127|萧山市,330181|建德市,330182|富阳市,330183|余杭市,330184|临安市,330185|市辖区,330201|海曙区,330203|江东区,330204|江北区,330205|北仑区,330206|镇海区,330211|象山县,330225|宁海县,330226|鄞县,330227|余姚市,330281|慈溪市,330282|奉化市,330283|市辖区,330301|鹿城区,330302|龙湾区,330303|瓯海区,330304|洞头县,330322|永嘉县,330324|平阳县,330326|苍南县,330327|文成县,330328|泰顺县,330329|瑞安市,330381|乐清市,330382|市辖区,330401|秀城区,330402|郊区,330411|嘉善县,330421|海盐县,330424|海宁市,330481|平湖市,330482|桐乡市,330483|市辖区,330501|德清县,330521|长兴县,330522|安吉县,330523|市辖区,330601|越城区,330602|绍兴县,330621|新昌县,330624|诸暨市,330681|上虞市,330682|嵊州市,330683|市辖区,330701|婺城区,330702|金华县,330721|武义县,330723|浦江县,330726|磐安县,330727|兰溪市,330781|义乌市,330782|东阳市,330783|永康市,330784|市辖区,330801|柯城区,330802|衢县,330821|常山县,330822|开化县,330824|龙游县,330825|江山市,330881|市辖区,330901|定海区,330902|普陀区,330903|岱山县,330921|嵊泗县,330922|市辖区,331001|椒江区,331002|黄岩区,331003|路桥区,331004|玉环县,331021|三门县,331022|天台县,331023|仙居县,331024|温岭市,331081|临海市,331082|丽水市,332501|龙泉市,332502|青田县,332522|云和县,332523|庆元县,332525|缙云县,332526|遂昌县,332527|松阳县,332528|景宁畲族自治县,332529|市辖区,340101|东市区,340102|中市区,340103|西市区,340104|郊区,340111|长丰县,340121|肥东县,340122|肥西县,340123|市辖区,340201|镜湖区,340202|马塘区,340203|新芜区,340204|鸠江区,340207|芜湖县,340221|繁昌县,340222|南陵县,340223|市辖区,340301|东市区,340302|中市区,340303|西市区,340304|郊区,340311|怀远县,340321|五河县,340322|固镇县,340323|市辖区,340401|大通区,340402|田家庵区,340403|谢家集区,340404|八公山区,340405|潘集区,340406|凤台区,340421|市辖区,340501|金家庄区,340502|花山区,340503|雨山区,340504|向山区,340505|当涂县,340521|市辖区,340601|杜集区,340602|相山区,340603|烈山区,340604|濉溪县,340621|市辖区,340701|铜官山区,340702|狮子山区,340703|郊区,340711|铜陵县,340721|市辖区,340801|迎江区,340802|大观区,340803|郊区,340811|怀宁县,340822|枞阳县,340823|潜山县,340824|太湖县,340825|宿松县,340826|望江县,340827|岳西县,340828|桐城市,340881|市辖区,341001|屯溪区,341002|黄山区,341003|徽州区,341004|歙县,341021|休宁县,341022|黟县,341023|祁门县,341024|市辖区,341101|琅琊区,341102|南谯区,341103|来安县,341122|全椒县,341124|定远县,341125|凤阳县,341126|天长市,341181|明光市,341182|市辖区,341201|颖州区,341202|颖东区,341203|颖泉区,341204|临泉县,341221|太和县,341222|涡阳县,341223|蒙城县,341224|阜南县,341225|颖上县,341226|利辛县,341227|亳州市,341281|界首市,341282|市辖区,341301|墉桥区,341302|砀山县,341321|萧县,341322|灵璧县,341323|泗县,341324|六安市,342401|寿县,342422|霍邱县,342423|舒城县,342425|金寨县,342426|霍山县,342427|宣州市,342501|宁国市,342502|郎溪县,342522|广德县,342523|泾县,342529|旌德县,342530|绩溪县,342531|巢湖市,342601|庐江县,342622|无为县,342623|含山县,342625|和县,342626|贵池市,342901|东至县,342921|石台县,342922|青阳县,342923|市辖区,350101|鼓楼区,350102|台江区,350103|仓山区,350104|马尾区,350105|晋安区,350111|闽侯县,350121|连江县,350122|罗源县,350123|闽清县,350124|永泰县,350125|平潭县,350128|福清市,350181|长乐市,350182|市辖区,350201|鼓浪屿区,350202|思明区,350203|开元区,350204|杏林区,350205|湖里区,350206|集美区,350211|同安区,350212|市辖区,350301|城厢区,350302|涵江区,350303|莆田县,350321|仙游县,350322|市辖区,350401|梅列区,350402|三元区,350403|明溪县,350421|清流县,350423|宁化县,350424|大田县,350425|尤溪县,350426|沙县,350427|将乐县,350428|泰宁县,350429|建宁县,350430|永安市,350481|市辖区,350501|鲤城区,350502|丰泽区,350503|洛江区,350504|惠安县,350521|安溪县,350524|永春县,350525|德化县,350526|金门县,350527|石狮市,350581|晋江市,350582|南安市,350583|市辖区,350601|芗城区,350602|龙文区,350603|云霄县,350622|漳浦县,350623|诏安县,350624|长泰县,350625|东山县,350626|南靖县,350627|平和县,350628|华安县,350629|龙海市,350681|市辖区,350701|延平区,350702|顺昌县,350721|浦城县,350722|光泽县,350723|松溪县,350724|政和县,350725|邵武市,350781|武夷山市,350782|建瓯市,350783|建阳市,350784|市辖区,350801|新罗区,350802|长汀县,350821|永定县,350822|上杭县,350823|武平县,350824|连城县,350825|漳平市,350881|宁德市,352201|福安市,352202|福鼎市,352203|霞浦县,352225|古田县,352227|屏南县,352228|寿宁县,352229|周宁县,352230|柘荣县,352231|市辖区,360101|东湖区,360102|西湖区,360103|青云谱区,360104|湾里区,360105|郊区,360111|南昌县,360121|新建县,360122|安义县,360123|进贤县,360124|市辖区,360201|昌江区,360202|珠山区,360203|浮梁县,360222|乐平市,360281|市辖区,360301|安源区,360302|湘东区,360313|莲花县,360321|上栗县,360322|芦溪县,360323|市辖区,360401|庐山区,360402|浔阳区,360403|九江县,360421|武宁县,360423|修水县,360424|永修县,360425|德安县,360426|星子县,360427|都昌县,360428|湖口县,360429|彭泽县,360430|瑞昌市,360481|市辖区,360501|渝水区,360502|分宜县,360521|鹰潭市,360606|市辖区,360601|月湖区,360602|余江县,360622|贵溪市,360681|市辖区,360701|章贡区,360702|赣县,360721|信丰县,360722|大余县,360723|上犹县,360724|崇义县,360725|安远县,360726|龙南县,360727|定南县,360728|全南县,360729|宁都县,360730|于都县,360731|兴国县,360732|会昌县,360733|寻乌县,360734|石城县,360735|瑞金市,360781|南康市,360782|宜春市,362201|丰城市,362202|樟树市,362203|高安市,362204|奉新县,362226|万载县,362227|上高县,362228|宜丰县,362229|靖安县,362232|铜鼓县,362233|上饶市,362301|德兴市,362302|上饶县,362321|广丰县,362322|玉山县,362323|铅山县,362324|横峰县,362325|弋阳县,362326|余干县,362329|波阳县,362330|万年县,362331|婺源县,362334|吉安市,362401|井冈山市,362402|吉安县,362421|吉水县,362422|峡江县,362423|新干县,362424|永丰县,362425|泰和县,362426|遂川县,362427|万安县,362428|安福县,362429|永新县,362430|宁冈县,362432|临川市,362502|南城县,362522|黎川县,362523|南丰县,362524|崇仁县,362525|乐安县,362526|宜黄县,362527|金溪县,362528|资溪县,362529|东乡县,362531|广昌县,362532|市辖区,370101|历下区,370102|市中区,370103|槐荫区,370104|天桥区,370105|历城区,370112|长清县,370123|平阴县,370124|济阳县,370125|商河县,370126|章丘市,370181|市辖区,370201|市南区,370202|市北区,370203|四方区,370205|黄岛区,370211|崂山区,370212|李沧区,370213|城阳区,370214|胶州市,370281|即墨市,370282|平度市,370283|胶南市,370284|莱西市,370285|市辖区,370301|淄川区,370302|张店区,370303|博山区,370304|临淄区,370305|周村区,370306|桓台县,370321|高青县,370322|沂源县,370323|市辖区,370401|市中区,370402|薛城区,370403|峄城区,370404|台儿庄区,370405|山亭区,370406|滕州市,370481|市辖区,370501|东营区,370502|河口区,370503|垦利县,370521|利津县,370522|广饶县,370523|市辖区,370601|芝罘区,370602|福山区,370611|牟平区,370612|莱山区,370613|长岛县,370634|龙口市,370681|莱阳市,370682|莱州市,370683|蓬莱市,370684|招远市,370685|栖霞市,370686|海阳市,370687|市辖区,370701|潍城区,370702|寒亭区,370703|坊子区,370704|奎文区,370705|临朐县,370724|昌乐县,370725|青州市,370781|诸城市,370782|寿光市,370783|安丘市,370784|高密市,370785|昌邑市,370786|市辖区,370801|市中区,370802|任城区,370811|微山县,370826|鱼台县,370827|金乡县,370828|嘉祥县,370829|汶上县,370830|泗水县,370831|梁山县,370832|曲阜市,370881|兖州市,370882|邹城市,370883|市辖区,370901|泰山区,370902|郊区,370911|宁阳县,370921|东平县,370923|新泰市,370982|肥城市,370983|市辖区,371001|环翠区,371002|文登市,371081|荣城市,371082|乳山市,371083|市辖区,371101|东港区,371102|五莲县,371121|莒县,371122|市辖区,371201|莱城区,371202|钢城区,371203|市辖区,371301|兰山区,371302|罗庄区,371311|河东区,371312|沂南县,371321|郯城县,371322|沂水县,371323|苍山县,371324|费县,371325|平邑县,371326|莒南县,371327|蒙阴县,371328|临沭县,371329|市辖区,371401|德城区,371402|陵县,371421|宁津县,371422|庆云县,371423|临邑县,371424|齐河县,371425|平原县,371426|夏津县,371427|武城县,371428|乐陵市,371481|禹城市,371482|市辖区,371501|东昌府区,371502|阳谷县,371521|莘县,371522|茌平县,371523|东阿县,371524|冠县,371525|高唐县,371526|临清市,371581|滨州市,372301|惠民县,372321|阳信县,372323|无棣县,372324|沾化县,372325|博兴县,372328|邹平县,372330|菏泽市,372901|曹县,372922|定陶县,372923|成武县,372924|单县,372925|巨野县,372926|郓城县,372928|鄄城县,372929|东明县,372930|市辖区,410101|中原区,410102|二七区,410103|管城回族区,410104|金水区,410105|上街区,410106|邙山区,410108|中牟县,410122|巩义市,410181|荥阳市,410182|新密市,410183|新郑市,410184|登丰市,410185|市辖区,410201|龙亭区,410202|顺河回族区,410203|鼓楼区,410204|南关区,410205|郊区,410211|杞县,410221|通许县,410222|尉氏县,410223|开封县,410224|兰考县,410225|市辖区,410301|老城区,410302|西工区,410303|壥河回族区,410304|涧西区,410305|吉利区,410306|郊区,410311|孟津县,410322|新安县,410323|栾川县,410324|嵩县,410325|汝阳县,410326|宜阳县,410327|洛宁县,410328|伊川县,410329|偃师市,410381|市辖区,410401|新华区,410402|卫东区,410403|石龙区,410404|湛河区,410411|宝丰县,410421|叶县,410422|鲁山县,410423|郏县,410425|舞钢市,410481|汝州市,410482|市辖区,410501|文峰区,410502|北关区,410503|铁西区,410504|郊区,410511|安阳县,410522|汤阴县,410523|滑县,410526|内黄县,410527|林州市,410581|市辖区,410601|鹤山区,410602|山城区,410603|郊区,410611|浚县,410621|淇县,410622|市辖区,410701|红旗区,410702|新华区,410703|北站区,410704|郊区,410711|新乡县,410721|获嘉县,410724|原阳县,410725|延津县,410726|封丘县,410727|长垣县,410728|卫辉市,410781|辉县市,410782|市辖区,410801|解放区,410802|中站区,410803|马村区,410804|山阳区,410811|修武县,410821|博爱县,410822|武陟县,410823|温县,410825|济源市,410881|沁阳市,410882|孟州市,410883|市辖区,410901|市区,410902|清丰县,410922|南乐县,410923|范县,410926|台前县,410927|濮阳县,410928|市辖区,411001|魏都区,411002|许昌县,411023|鄢陵县,411024|襄城县,411025|禹州市,411081|长葛市,411082|市辖区,411101|源汇区,411102|舞阳县,411121|临颍县,411122|郾城县,411123|市辖区,411201|湖滨区,411202|渑池县,411221|陕县,411222|卢氏县,411224|义马市,411281|灵宝市,411282|市辖区,411301|宛城区,411302|卧龙区,411303|南召县,411321|方城县,411322|西峡县,411323|镇平县,411324|内乡县,411325|淅川县,411326|社旗县,411327|唐河县,411328|新野县,411329|桐柏县,411330|邓州市,411381|市辖区,411401|梁园区,411402|睢阳区,411403|民权县,411421|睢县,411422|宁陵县,411423|柘城县,411424|虞城县,411425|夏邑县,411426|永城市,411481|市辖区,411501|浉河区,411502|平桥区,411503|罗山县,411521|光山县,411522|新县,411523|商城县,411524|固始县,411525|潢川县,411526|淮滨县,411527|息县,411528|周口市,412701|项城市,412702|扶沟县,412721|西华县,412722|商水县,412723|太康县,412724|鹿邑县,412725|郸城县,412726|淮阳县,412727|沈丘县,412728|驻马店市,412801|确山县,412821|泌阳县,412822|遂平县,412823|西平县,412824|上蔡县,412825|汝南县,412826|平舆县,412827|新蔡县,412828|正阳县,412829|市辖区,420101|江岸区,420102|江汉区,420103|硚口区,420104|汉阳区,420105|武昌区,420106|青山区,420107|洪山区,420111|东西湖区,420112|汉南区,420113|蔡甸区,420114|江夏区,420115|黄陂区,420116|新洲区,420117|市辖区,420201|黄石港区,420202|石灰窑区,420203|下陆区,420204|铁山区,420205|阳新县,420222|大冶市,420281|市辖区,420301|茅箭区,420302|张湾区,420303|郧县,420321|郧西县,420322|竹山县,420323|竹溪县,420324|房县,420325|丹江口市,420381|市辖区,420501|西陵区,420502|伍家岗区,420503|点军区,420504|猇亭区,420505|宜昌县,420521|远安县,420525|兴山县,420526|秭归县,420527|长阳土家族自治县,420528|五峰土家族自治县,420529|宜都市,420581|当阳市,420582|枝江市,420583|市辖区,420601|襄城区,420602|樊城区,420606|襄阳县,420621|南漳县,420624|谷城县,420625|保康县,420626|老河口市,420682|枣阳市,420683|宜城市,420684|市辖区,420701|梁子湖区,420702|华容区,420703|鄂城区,420704|市辖区,420801|东宝区,420802|京山县,420821|沙洋县,420822|钟祥县,420881|市辖区,420901|孝南区,420902|孝昌县,420921|大悟县,420922|云梦县,420923|应城市,420981|安陆市,420982|广水市,420983|汉川市,420984|市辖区,421001|沙市区,421002|荆州区,421003|公安县,421022|监利县,421023|江陵县,421024|石首市,421081|洪湖市,421083|松滋市,421087|市辖区,421101|黄州区,421102|团风县,421121|红安县,421122|罗田县,421123|英山县,421124|浠水县,421125|蕲春县,421126|黄梅县,421127|麻城市,421181|武穴市,421182|市辖区,421201|咸安区,421202|嘉鱼县,421221|通城县,421222|崇阳县,421223|通山县,421224|赤壁市,421281|恩施市,422801|利川市,422802|建始县,422822|巴东县,422823|宣恩县,422825|咸丰县,422826|来凤县,422827|鹤峰县,422828|随州市,429001|仙桃市,429004|潜江市,429005|天门市,429006|神农架林区,429021|市辖区,430101|芙蓉区,430102|天心区,430103|岳麓区,430104|开福区,430105|雨花区,430111|长沙县,430121|望城县,430122|宁乡县,430124|浏阳市,430181|市辖区,430201|荷塘区,430202|芦淞区,430203|石峰区,430204|天元区,430211|株洲县,430221|攸县,430223|茶陵县,430224|炎陵县,430225|醴陵市,430281|市辖区,430301|雨湖区,430302|岳塘区,430304|湘潭县,430321|湘乡市,430381|韶山市,430382|市辖区,430401|江东区,430402|城南区,430403|城北区,430404|郊区,430411|南岳区,430412|衡阳县,430421|衡南县,430422|衡山县,430423|衡东县,430424|祁东县,430426|耒阳市,430481|常宁市,430482|市辖区,430501|双清区,430502|大祥区,430503|北塔区,430511|邵东县,430521|新邵县,430522|邵阳县,430523|隆回县,430524|洞口县,430525|绥宁县,430527|新宁县,430528|城步苗族自治县,430529|武冈市,430581|市辖区,430601|岳阳楼区,430602|云溪区,430603|君山区,430611|岳阳县,430621|华容县,430623|湘阴县,430624|平江县,430626|汨罗市,430681|临湘市,430682|市辖区,430701|武陵区,430702|鼎城区,430703|安乡县,430721|汉寿县,430722|澧县,430723|临澧县,430724|桃源县,430725|石门县,430726|津市市,430781|市辖区,430801|永定区,430802|武陵源区,430811|慈利县,430821|桑植县,430822|市辖区,430901|资阳区,430902|赫山区,430903|南县,430921|桃江县,430922|安化县,430923|沅江市,430981|市辖区,431001|北湖区,431002|苏仙区,430003|桂阳县,431021|宜章县,431022|永兴县,431023|嘉禾县,431024|临武县,431025|汝城县,431026|桂东县,431027|安仁县,431028|资兴市,431081|市辖区,431101|芝山区,431102|冷水滩区,431103|祁阳县,431121|东安县,431122|双牌县,431123|道县,431124|江永县,431125|宁远县,431126|蓝山县,431127|新田县,431128|江华瑶族自治县,431129|市辖区,431201|鹤城区,431202|中方县,431221|沅陵县,431222|辰溪县,431223|溆浦县,431224|会同县,431225|麻阳苗族自治县,431226|新晃侗族自治县,431227|芷江侗族自治县,431228|靖州苗族侗族自治县,431229|通道侗族自治县,431230|洪江市,431281|娄底市,432501|冷水江市,432502|涟源市,432503|双峰县,432522|新化县,432524|吉首市,433101|泸溪县,433122|凤凰县,433123|花垣县,433124|保靖县,433125|古丈县,433126|永顺县,433127|龙山县,433130|金湾区,440404|市辖区,440101|东山区,440102|荔湾区,440103|越秀区,440104|海珠区,440105|天河区,440106|芳村区,440107|白云区,440111|黄埔区,440112|番禺区,440113|花都区,440114|增城市,440183|从化市,440184|市辖区,440201|北江区,440202|武江区,440203|浈江区,440204|曲江县,440221|始兴县,440222|仁化县,440224|翁源县,440229|乳源瑶族自治县,440232|新丰县,440233|乐昌市,440281|南雄市,440282|市辖区,440301|罗湖区,440303|福田区,440304|南山区,440305|宝安区,440306|龙岗区,440307|盐田区,440308|市辖区,440401|香洲区,440402|斗门区,440403|市辖区,440501|潮南区,440514|龙湖区,440507|金平区,440511|茂港区,440903|南澳县,440523|潮阳区,440513|澄海区,440515|市辖区,440601|禅城区,440604|顺德区,440606|南海区,440605|三水区,440607|高明区,440608|市辖区,440701|蓬江区,440703|江海区,440704|台山市,440781|新会区,440705|开平市,440783|鹤山市,440784|恩平市,440785|市辖区,440801|赤坎区,440802|霞山区,440803|坡头区,440804|麻章区,440811|遂溪县,440823|徐闻县,440825|廉江市,440881|雷州市,440882|吴川市,440883|市辖区,440901|茂南区,440902|电白县,440923|高州市,440981|化州市,440982|信宜市,440983|市辖区,441201|端州区,441202|鼎湖区,441203|广宁县,441223|怀集县,441224|封开县,441225|德庆县,441226|高要市,441283|四会市,441284|市辖区,441301|惠城区,441302|博罗县,441322|惠东县,441323|龙门县,441324|惠阳区,441303|市辖区,441401|梅江区,441402|梅县,441421|大埔县,441422|丰顺县,441423|五华县,441424|平远县,441426|蕉岭县,441427|兴宁市,441481|市辖区,441501|城区,441502|海丰县,441521|陆河县,441523|陆丰市,441581|市辖区,441601|源城区,441602|紫金县,441621|龙川县,441622|连平县,441623|和平县,441624|东源县,441625|市辖区,441701|江城区,441702|阳西县,441721|阳东县,441723|阳春市,441781|市辖区,441801|清城区,441802|佛冈县,441821|阳山县,441823|连山壮族瑶族自治县,441825|连山瑶族自治县,441826|清新县,441827|英德市,441881|连州市,441882|市辖区,445101|湘桥区,445102|潮安县,445121|饶平县,445122|市辖区,445201|榕城区,445202|揭东县,445221|揭西县,445222|惠来县,445224|普宁市,445281|市辖区,445301|云城区,445302|新兴县,445321|郁南县,445322|云安县,445323|罗定市,445381|濠江区,440512|市辖区,450101|兴宁区,450102|新城区,450103|城北区,450104|江南区,450105|永新区,450106|市郊区,450111|邕宁县,450121|武鸣县,450122|市辖区,450201|城中区,450202|鱼峰区,450203|柳南区,450204|柳北区,450205|市郊区,450211|柳江县,450221|柳城县,450222|市辖区,450301|秀峰区,450302|叠彩区,450303|象山区,450304|七星区,450305|雁山区,450311|阳朔县,450321|临桂县,450322|灵川县,450323|全州县,450324|兴安县,450325|永福县,450326|灌阳县,450327|龙胜各族自治县,450328|资源县,450329|平乐县,450330|荔浦县,450331|恭城瑶族自治县,450332|市辖区,450401|万秀区,450403|蝶山区,450404|市郊区,450411|苍梧县,450421|腾县,450422|蒙山县,450423|岑溪市,450481|市辖区,450501|海城区,450502|银海区,450503|铁山港区,450512|合浦县,450521|市辖区,450601|港口区,450602|防城区,450603|上思县,450621|东兴市,450681|市辖区,450701|钦南区,450702|钦北区,450703|灵山县,450721|浦北县,450722|市辖区,450801|港北区,450802|港南区,450803|平南县,450821|桂平市,450881|市辖区,450901|玉州区,450902|容县,450921|陆川县,450922|博白县,450923|兴业县,450924|北流市,450981|凭祥市,452101|横县,452122|宾阳县,452123|上林县,452124|隆安县,452126|马山县,452127|扶绥县,452128|崇左县,452129|大新县,452130|天等县,452131|宁明县,452132|龙州县,452133|合山市,452201|鹿寨县,452223|象州县,452224|武宣县,452225|来宾县,452226|融安县,452227|三江侗族自治县,452228|融水苗族自治县,452229|金秀瑶族自治县,452230|忻城县,452231|贺州市,452402|昭平县,452424|钟山县,452427|富川瑶族自治县,452428|百色市,452601|田阳县,452622|田东县,452623|平果县,452624|德保县,452625|靖西县,452626|那坡县,452627|凌云县,452628|乐业县,452629|田林县,452630|隆林各族自治县,452631|西林县,452632|河池市,452701|宜州市,452702|罗城仫佬族自治县,452723|环江毛南族自治县,452724|南丹县,452725|天峨县,452726|凤山县,452727|东兰县,452728|巴马瑶族自治县,452729|都安瑶族自治县,452730|大化瑶族自治县,452731|琼山区,460107|美兰区,460108|市辖区,460101|龙华区,460106|秀英区,460105|市辖区,460201|通什市,460001|琼海市,460002|儋州市,460003|琼山市,460004|文昌市,460005|万宁市,460006|东方市,460007|定安县,460025|屯昌县,460026|澄迈县,460027|临高县,460028|白沙黎族自治县,460030|昌江黎族自治县,460031|乐东黎族自治县,460033|陵水黎族自治县,460034|保亭黎族苗族自治县,460035|琼中黎族苗族自治县,460036|西沙群岛,460037|南沙群岛,460038|中沙群岛的岛礁及其海域,460039|万州区,500101|涪陵区,500102|渝中区,500103|大渡口区,500104|江北区,500105|沙坪坝区,500106|九龙坡区,500107|南岸区,500108|北碚区,500109|万盛区,500110|双桥区,500111|渝北区,500112|巴南区,500113|长寿县,500221|綦江县,500222|潼南县,500223|铜梁县,500224|大足县,500225|荣昌县,500226|璧山县,500227|梁平县,500228|城口县,500229|丰都县,500230|垫江县,500231|武隆县,500232|忠县,500233|开县,500234|云阳县,500235|奉节县,500236|巫山县,500237|巫溪县,500238|黔江土家族苗族自治县,500239|石柱土家族自治县,500240|秀山土家族苗族自治县,500241|酉阳土家族苗族自治县,500242|彭水苗族土家族自治县,500243|江津市,500381|合川市,500382|永川市,500383|南川市,500384|市辖区,510101|锦江区,510104|青羊区,510105|金牛区,510106|武侯区,510107|成华区,510108|龙泉驿区,510112|青白江区,510113|金堂县,510121|双流县,510122|温江县,510123|郫县,510124|新都县,510125|大邑县,510129|蒲江县,510131|新津县,510132|都江堰市,510181|彭州市,510182|邛崃市,510183|崇州市,510184|市辖区,510301|自流井区,510302|恭井区,510303|大安区,510304|沿滩区,510311|荣县,510321|富顺县,510322|市辖区,510401|东区,510402|西区,510403|仁和区,510411|米易县,510421|盐边县,510422|市辖区,510501|江阳区,510502|纳溪区,510503|龙马潭区,510504|泸县,510521|合江县,510522|叙永县,510524|古蔺县,510525|市辖区,510601|旌阳区,510603|中江县,510623|罗江县,510626|广汉市,510681|什邡市,510682|绵竹市,510683|市辖区,510701|涪城区,510703|游仙区,510704|三台县,510722|盐亭县,510723|安县,510724|梓潼县,510725|北川县,510726|平武县,510727|江油市,510781|市辖区,510801|市中区,510802|元坝区,510811|朝天区,510812|旺苍县,510821|青川县,510822|剑阁县,510823|苍溪县,510824|市辖区,510901|市中区,510902|蓬溪县,510921|射洪县,510922|大英县,510923|市辖区,511001|市中区,511002|东兴区,511011|威远县,511024|资中县,511025|隆昌县,511028|市辖区,511101|市中区,511102|沙湾区,511111|五通桥区,511112|金口河区,511113|犍为县,511123|井研县,511124|夹江县,511126|沐川县,511129|峨边彝族自治县,511132|马边彝族自治县,511133|峨眉山市,511181|市辖区,511301|顺庆区,511302|高坪区,511303|嘉陵区,511304|南部县,511321|营山县,511322|蓬安县,511323|仪陇县,511324|西充县,511325|阆中市,511381|市辖区,511501|翠屏区,511502|宜宾县,511521|南溪县,511522|江安县,511523|长宁县,511524|高县,511525|珙县,511526|筠连县,511527|兴文县,511528|屏山县,511529|市辖区,511601|广安区,511602|岳池县,511621|武胜县,511622|邻水县,511623|华蓥市,511681|达川市,513001|万源市,513002|达县,513021|宣汉县,513022|开江县,513023|大竹县,513029|渠县,513030|雅安市,513101|名山县,513122|荥经县,513123|汉源县,513124|石棉县,513125|天全县,513126|芦山县,513127|宝兴县,513128|汶川县,513221|理县,513222|茂县,513223|松潘县,513224|九寨沟县,513225|金川县,513226|小金县,513227|黑水县,513228|马尔康县,513229|壤塘县,513230|阿坝县,513231|若尔盖县,513232|红原县,513233|康定县,513321|泸定县,513322|丹巴县,513323|九龙县,513324|雅江县,513325|道孚县,513326|炉霍县,513327|甘孜县,513328|新龙县,513329|德格县,513330|白玉县,513331|石渠县,513332|色达县,513333|理塘县,513334|巴塘县,513335|乡城县,513336|稻城县,513337|得荣县,513338|西昌市,513401|木里藏族自治县,513422|盐源县,513423|德昌县,513424|会理县,513425|会东县,513426|宁南县,513427|普格县,513428|布拖县,513429|金阳县,513430|昭觉县,513431|喜德县,513432|冕宁县,513433|越西县,513434|甘洛县,513435|美姑县,513436|雷波县,513437|巴中市,513701|通江县,513721|南江县,513722|平昌县,513723|眉山县,513821|仁寿县,513822|彭山县,513823|洪雅县,513824|丹棱县,513825|青神县,513826|资阳市,513901|简阳市,513902|安岳县,513921|乐至县,513922|市辖区,520101|南明区,520102|云岩区,520103|花溪区,520111|乌当区,520112|白云区,520113|开阳县,520121|息烽县,520122|修文县,520123|清镇市,520181|钟山区,520201|盘县特区,520202|六枝特区,520203|水城县,520221|市辖区,520301|红花岗区,520302|遵义县,520321|桐梓县,520322|绥阳县,520323|正阳县,520324|道真仡佬族苗族自治县,520325|务川仡佬族苗族自治县,520326|凤冈县,520327|湄潭县,520328|余庆县,520329|习水县,520330|赤水市,520381|仁怀市,520382|铜仁市,522201|江口县,522222|玉屏侗族自治县,522223|石阡县,522224|思南县,522225|印江土家族苗族自治县,522226|德江县,522227|沿河土家族自治县,522228|松桃苗族自治县,522229|万山特区,522230|兴义市,522301|兴仁县,522322|普安县,522323|晴隆县,522324|贞丰县,522325|望谟县,522326|册亨县,522327|安龙县,522328|毕节市,522401|大方县,522422|黔西县,522423|金沙县,522424|织金县,522425|纳雍县,522426|威宁彝族回族苗族自治县,522427|赫章县,522428|安顺市,522501|平坝县,522526|普定县,522527|关岭布依族苗族自治县,522528|镇宁布依族苗族自治县,522529|紫云苗族布依族自治县,522530|凯里市,522601|黄平县,522622|施秉县,522623|三穗县,522624|镇远县,522625|岑巩县,522626|天柱县,522627|锦屏县,522628|剑河县,522629|台江县,522630|黎平县,522631|榕江县,522632|从江县,522633|雷山县,522634|麻江县,522635|丹寨县,522636|都匀市,522701|福泉市,522702|荔波县,522722|贵定县,522723|瓮安县,522725|独山县,522726|平塘县,522727|罗甸县,522728|长顺县,522729|龙里县,522730|惠水县,522731|三都水族自治县,522732|市辖区,530101|五华区,530102|盘龙区,530103|官渡区,530111|西山区,530112|东川区,530113|呈贡县,530121|晋宁县,530122|富民县,530124|宜良县,530125|石林彝族自治县,530126|嵩明县,530127|禄劝彝族苗族自治县,530128|寻甸回族彝族自治县,530129|安宁市,530181|市辖区,530301|麒麟区,530302|马龙县,530321|陆良县,530322|师宗县,530323|罗平县,530324|富源县,530325|会泽县,530326|沾益县,530328|宣威市,530381|市辖区,530401|红塔区,530402|江川县,530421|澄江县,530422|通海县,530423|华宁县,530424|易门县,530425|峨山彝族自治县,530426|新平彝族傣族自治县,530427|元江哈尼族彝族傣族自治县,530428|昭通市,532101|鲁甸县,532122|巧家县,532123|盐津县,532124|大关县,532125|永善县,532126|绥江县,532127|镇雄县,532128|彝良县,532129|威信县,532130|水富县,532131|楚雄市,532301|双柏县,532322|牟定县,532323|南华县,532324|姚安县,532325|大姚县,532326|永仁县,532327|元谋县,532328|武定县,532329|禄丰县,532331|个旧市,532501|开远市,532502|蒙自县,532522|屏边苗族自治县,532523|建水县,532524|石屏县,532525|弥勒县,532526|泸西县,532527|元阳县,532528|红河县,532529|金平苗族瑶族傣族自治县,532530|绿春县,532531|河口瑶族自治县,532532|文山县,532621|砚山县,532622|西畴县,532623|麻栗坡县,532624|马关县,532625|丘北县,532626|广南县,532627|富宁县,532628|思茅市,532701|普洱哈尼族彝族自治县,532722|墨江哈尼族自治县,532723|景东彝族自治县,532724|景谷傣族彝族自治县,532725|镇沅彝族哈尼族拉祜族自治县,532726|江城哈尼族彝族自治县,532727|孟连傣族拉祜族佤族自治县,532728|澜沧拉祜族自治县,532729|西盟佤族自治县,532730|景洪市,532801|勐海县,532822|勐腊县,532823|大理市,532901|漾濞彝族自治县,532922|祥云县,532923|宾川县,532924|弥渡县,532925|南涧彝族自治县,532926|巍山彝族回族自治县,532927|永平县,532928|云龙县,532929|洱源县,532930|剑川县,532931|鹤庆县,532932|保山市,533001|施甸县,533022|腾冲县,533023|龙陵县,533024|昌宁县,533025|畹町市,533101|瑞丽市,533102|潞西市,533103|梁河县,533122|盈江县,533123|陇川县,533124|丽江纳西族自治县,533221|永胜县,533222|华坪县,533223|宁蒗彝族自治县,533224|泸水县,533321|福贡县,533323|贡山独龙族怒族自治县,533324|兰坪白族普米族自治县,533325|中甸县,533421|德钦县,533422|维西傈僳族自治县,533423|临沧县,533521|凤庆县,533522|云县,533523|永德县,533524|镇康县,533525|双江拉祜族佤族布朗族傣族自治县,533526|耿马傣族佤族自治县,533527|沧源佤族自治县,533528|市辖区,540101|城关区,540102|林周县,540121|当雄县,540122|尼木县,540123|曲水县,540124|堆龙德庆县,540125|达孜县,540126|墨竹工卡县,540127|昌都县,542121|江达县,542122|贡觉县,542123|类乌齐县,542124|丁青县,542125|察雅县,542126|八宿县,542127|左贡县,542128|芒康县,542129|洛隆县,542132|边坝县,542133|盐井县,542134|碧土县,542135|妥坝县,542136|生达县,542137|乃东县,542221|扎囊县,542222|贡嘎县,542223|桑日县,542224|琼结县,542225|曲松县,542226|措美县,542227|洛扎县,542228|加查县,542229|隆子县,542231|错那县,542232|浪卡子县,542233|日喀则市,542301|南木林县,542322|江孜县,542323|定日县,542324|萨迦县,542325|拉孜县,542326|昂仁县,542327|谢通门县,542328|白朗县,542329|仁布县,542330|康马县,542331|定结县,542332|仲巴县,542333|亚东县,542334|吉隆县,542335|聂拉木县,542336|萨嘎县,542337|岗巴县,542338|那曲县,542421|嘉黎县,542422|比如县,542423|聂荣县,542424|安多县,542425|申扎县,542426|索县,542427|班戈县,542428|巴青县,542429|尼玛县,542430|普兰县,542521|札达县,542522|噶尔县,542523|日土县,542524|革吉县,542525|改则县,542526|措勤县,542527|隆格尔县,542528|林芝县,542621|工布江达县,542622|米林县,542623|墨脱县,542624|波密县,542625|察隅县,542626|朗县,542627|市辖区,610101|新城区,610102|碑林区,610103|莲湖区,610104|灞桥区,610111|未央区,610112|雁塔区,610113|阎良区,610114|临潼区,610115|长安县,610121|蓝田县,610122|周至县,610124|户县,610125|高陵县,610126|市辖区,610201|城区,610202|郊区,610203|耀县,610221|宜君县,610222|市辖区,610301|渭滨区,610302|金台区,610303|宝鸡县,610321|凤翔县,610322|岐山县,610323|扶风县,610324|眉县,610326|陇县,610327|千阳县,610328|麟游县,610329|凤县,610330|太白县,610331|市辖区,610401|秦都区,610402|杨陵区,610403|渭城区,610404|三原县,610422|泾阳县,610423|乾县,610424|礼泉县,610425|永寿县,610426|彬县,610427|长武县,610428|旬邑县,610429|淳化县,610430|武功县,610431|兴平市,610481|市辖区,610501|临渭区,610502|华县,610521|潼关县,610522|大荔县,610523|合阳县,610524|澄城县,610525|蒲城县,610526|白水县,610527|富平县,610528|韩城市,610581|华阴市,610582|市辖区,610601|宝塔区,610602|延长县,610621|延川县,610622|子长县,610623|安塞县,610624|志丹县,610625|吴旗县,610626|甘泉县,610627|富县,610628|洛川县,610629|宜川县,610630|黄龙县,610631|黄陵县,610632|市辖区,610701|汉台区,610702|南郑县,610721|城固县,610722|洋县,610723|西乡县,610724|勉县,610725|宁强县,610726|略阳县,610727|镇巴县,610728|留坝县,610729|佛坪县,610730|安康市,612401|汉阴县,612422|石泉县,612423|宁陕县,612424|紫阳县,612425|岚皋县,612426|平利县,612427|镇坪县,612428|旬阳县,612429|白河县,612430|商州市,612501|洛南县,612522|丹凤县,612523|商南县,612524|山阳县,612525|镇安县,612526|柞水县,612527|榆林市,612701|神木县,612722|府谷县,612723|横山县,612724|靖边县,612725|定边县,612726|绥德县,612727|米脂县,612728|佳县,612729|吴堡县,612730|清涧县,612731|子洲县,612732|市辖区,620101|城关区,620102|七里河区,620103|西固区,620104|安宁区,620105|红古区,620111|永登县,620121|皋兰县,620122|榆中县,620123|市辖区,620201|市辖区,620301|金川区,620302|永昌县,620321|市辖区,620401|白银区,620402|平川区,620403|靖远县,620421|会宁县,620422|景泰县,620423|市辖区,620501|秦城区,620502|北道区,620503|清水县,620521|秦安县,620522|甘谷县,620523|武山县,620524|张家川回族自治县,620525|玉门市,622101|酒泉市,622102|敦煌市,622103|金塔县,622123|肃北蒙古族自治县,622124|阿克塞哈萨克族自治县,622125|安西县,622126|张掖市,622201|肃南裕固族自治县,622222|民乐县,622223|临泽县,622224|高台县,622225|山丹县,622226|武威市,622301|民勤县,622322|古浪县,622323|天祝藏族自治县,622326|定西县,622421|通渭县,622424|陇西县,622425|渭源县,622426|临洮县,622427|漳县,622428|岷县,622429|武都县,622621|宕昌县,622623|成县,622624|康县,622625|文县,622626|西和县,622627|礼县,622628|两当县,622629|徽县,622630|平凉市,622701|泾川县,622722|灵台县,622723|崇信县,622724|华亭县,622725|庄浪县,622726|静宁县,622727|西峰市,622801|庆阳市,622821|环县,622822|华池县,622823|合水县,622824|正宁县,622825|宁县,622826|镇原县,622827|临夏市,622901|临夏县,622921|康乐县,622922|永靖县,622923|广河县,622924|和政县,622925|东乡族自治县,622926|积石山保安族东乡族撒拉族自治县,622927|合作市,623001|临潭县,623021|卓尼县,623022|舟曲县,623023|迭部县,623024|玛曲县,623025|碌曲县,623026|夏河县,623027|市辖区,630101|城东区,630102|城中区,630103|城西区,630104|城北区,630105|大通回族土族自治县,630121|平安县,632121|民和回族土族自治县,632122|乐都县,632123|湟中县,632124|湟源县,632125|互助土族自治县,632126|化隆回族自治县,632127|循化撒拉族自治县,632128|门源回族自治县,632221|祁连县,632222|海晏县,632223|刚察县,632224|同仁县,632321|尖扎县,632322|泽库县,632323|河南蒙古族自治县,632324|共和县,632521|同德县,632522|贵德县,632523|兴海县,632524|贵南县,632525|玛沁县,632621|班玛县,632622|甘德县,632623|达日县,632624|久治县,632625|玛多县,632626|玉树县,632721|杂多县,632722|称多县,632723|治多县,632724|囊谦县,632725|曲麻莱县,632726|格尔木市,632801|德令哈市,632802|乌兰县,632821|都兰县,632822|天峻县,632823|市辖区,640101|城区,640102|新城区,640103|郊区,640111|永宁县,640121|贺兰县,640122|市辖区,640201|大武口区,640202|石嘴山区,640203|石炭井区,640204|平罗县,640221|陶乐县,640222|惠农县,640223|市辖区,640301|利通区,640302|中卫县,640321|中宁县,640322|盐池县,640323|同心县,640324|青铜峡市,640381|灵武市,640382|固原县,642221|海原县,642222|西吉县,642223|隆德县,642224|泾源县,642225|彭阳县,642226|市辖区,650101|天山区,650102|沙依巴克区,650103|新市区,650104|水磨沟区,650105|头屯河区,650106|南山矿区,650107|东山区,650108|乌鲁木齐县,650121|市辖区,650201|独山子区,650202|克拉玛依区,650203|白碱滩区,650204|乌尔禾区,650205|吐鲁番市,652101|鄯善县,652122|托克逊县,652123|哈密市,652201|巴里坤哈萨克自治县,652222|伊吾县,652223|昌吉市,652301|阜康市,652302|米泉市,652303|呼图壁县,652323|玛纳斯县,652324|奇台县,652325|吉木萨尔县,652327|木垒哈萨克自治县,652328|博乐市,652701|精河县,652722|温泉县,652723|库尔勒市,652801|轮台县,652822|尉犁县,652823|若羌县,652824|且末县,652825|焉耆回族自治县,652826|和静县,652827|和硕县,652828|博湖县,652829|阿克苏市,652901|温宿县,652922|库车县,652923|沙雅县,652924|新和县,652925|拜城县,652926|乌什县,652927|阿瓦提县,652928|柯坪县,652929|阿图什市,653001|阿克陶县,653022|阿合奇县,653023|乌恰县,653024|喀什市,653101|疏附县,653121|疏勒县,653122|英吉沙县,653123|泽普县,653124|莎车县,653125|叶城县,653126|麦盖提县,653127|岳普湖县,653128|伽师县,653129|巴楚县,653130|塔什库尔干塔吉克自治县,653131|和田市,653201|和田县,653221|墨玉县,653222|皮山县,653223|洛浦县,653224|策勒县,653225|于田县,653226|民丰县,653227|奎屯市,654001|伊宁市,654101|伊宁县,654121|察布查尔锡伯自治县,654122|霍城县,654123|巩留县,654124|新源县,654125|昭苏县,654126|特克斯县,654127|尼勒克县,654128|塔城市,654201|乌苏市,654202|额敏县,654221|沙湾县,654223|托里县,654224|裕民县,654225|和布克塞尔蒙古自治县,654226|阿勒泰市,654301|布尔津县,654321|富蕴县,654322|福海县,654323|哈巴河县,654324|青河县,654325|吉木乃县,654326|石河子市,659001",
      createSelect : function(){
        arrySheng = this.strSheng.split('|');
        arryShi = this.strShi.split('|');
        arryXian = this.strXian.split('|');
        $(this.slt_sheng)[0].options.add(new Option("请选择","-1"));
        $(this.slt_shi)[0].options.add(new Option("请选择","-1"));
        $(this.slt_xian)[0].options.add(new Option("请选择","-1"));
        areaSelect.bindSheng();
        areaSelect.showSelect();
      },
      returnText : function(){ //返回选择的Text
        var s1= $(this.slt_sheng).find("option:selected").text();
        var s2= $(this.slt_shi).find("option:selected").text();
        var s3= $(this.slt_xian).find("option:selected").text();
        if(s3 != "请选择" && s2 != "请选择" && s1 != "请选择")
        {
         $("span[id$='AreaText']",window.parent.document).html(s1 + "|" + s2 + "|" + s3);
        }
        if(s1 != "请选择" && s2 != "请选择" && s3 == "请选择")
        {
         $("span[id$='AreaText']",window.parent.document).html(s1 + "|" + s2);
        }
        if(s1 != "请选择" && s2 == "请选择" && s3 == "请选择")
        {
         $("span[id$='AreaText']",window.parent.document).html(s1);
        }
      },
      returnValue : function(){ //返回选择的Value
        var s1= $(this.slt_sheng).find("option:selected").val();
        var s2= $(this.slt_shi).find("option:selected").val();
        var s3= $(this.slt_xian).find("option:selected").val();
        if(s3 != "-1" && s2 != "-1" && s1 != "-1")
        {
         $("span[id$='AreaValue']",window.parent.document).html(s1 + "|" + s2 + "|" + s3);
        }
        if(s1 != "-1" && s2 != "-1" && s3 == "-1")
        {
         $("span[id$='AreaValue']",window.parent.document).html(s1 + "|" + s2);
        }
        if(s1 != "-1" && s2 == "-1" && s3 == "-1")
        {
         $("span[id$='AreaValue']",window.parent.document).html(s1);
        }
      }
   };
   areaSelect.showSelect = function()//显示select控件和添加事件
   {
     $("body").append(areaSelect.slt_sheng);
     $("body").append(areaSelect.slt_shi);
     $("body").append(areaSelect.slt_xian);
     $(areaSelect.slt_sheng).change(function(){
       areaSelect.bindShi(this.value);
       areaSelect.returnText();
       areaSelect.returnValue();
     });
     $(areaSelect.slt_shi).change(function(){
       areaSelect.bindXian(this.value);
       areaSelect.returnText();
       areaSelect.returnValue();
     });
     $(areaSelect.slt_xian).change(function(){
       areaSelect.returnText();
       areaSelect.returnValue();
     });
   }
   areaSelect.bindSheng = function() //绑定省
   {
     for(var i = 0;i<arrySheng.length;i++)
     {
       var str = arrySheng[i].split(','); //分割单个省份
       $(areaSelect.slt_sheng)[0].options.add(new Option(str[0],str[1]));
     }
   }
   areaSelect.bindShi = function(strSheng) //绑定市
    {
      $(areaSelect.slt_shi).empty();
      $(areaSelect.slt_shi)[0].options.add(new Option("请选择","-1"));
      $(areaSelect.slt_xian).empty();
      $(areaSelect.slt_xian)[0].options.add(new Option("请选择","-1"));
      for(var i=0;i<arryShi.length;i++)
      {
       var str = arryShi[i].split(',');
       if(areaSelect.getCode12(str[1])==areaSelect.getCode12(strSheng) && areaSelect.getCode56(str[1])=="00" && areaSelect.getCode36(str[1]) != "0000")
       {
         $(areaSelect.slt_shi)[0].options.add(new Option(str[0],str[1]));
       }
      }
    }
    areaSelect.bindXian = function(strShi) //绑定县
    {
      $(areaSelect.slt_xian).empty();
      $(areaSelect.slt_xian)[0].options.add(new Option("请选择","-1"));
      for(var i=0;i<arryXian.length;i++)
      {
       var str = arryXian[i].split(',');
       if(areaSelect.getCode14(str[1])==areaSelect.getCode14(strShi) && areaSelect.getCode56(str[1]) != "00")
       {
         $(areaSelect.slt_xian)[0].options.add(new Option(str[0],str[1]));
       }
      }
    }
    areaSelect.getCode14 = function(str) //去字符串的后四位
    {
     if(str != "-1")
     {
       return str.substring(0,4);
     }
     else
     {
       return str;
     }
    }
    areaSelect.getCode12 = function(str) //取字符串的前两位
    {
     if(str != "-1")
     {
       return str.substring(0,2);
     }
     else
     {
       return str;
     }
    }
    areaSelect.getCode34 = function(str) //取字符串中间两位
    {
     if(str != "-1")
     {
       return str.substring(2,4);
     }
     else
     {
       return str;
     }
    }
    areaSelect.getCode56 = function(str) //取字符串的最后两位
    {
     if(str != "-1")
     {
       return str.substring(4,6);
     }
     else
     {
       return str;
     }
    }
    areaSelect.getCode36 = function(str) //去字符串的后四位
    {
     if(str != "-1")
     {
       return str.substring(2,6);
     }
     else
     {
       return str;
     }
    }
   $(function(){
     areaSelect.createSelect();
   });
</script>
</head>
<body>
</body>
</html>

更多关于jQuery相关内容感兴趣的读者可查看本站专题:《jQuery表格(table)操作技巧汇总》、《jQuery form操作技巧汇总》、《jQuery常用插件及用法总结》、《jQuery操作json数据技巧汇总》、《jQuery扩展技巧总结》、《jQuery拖拽特效与技巧总结》、《jquery中Ajax用法总结》、《jQuery常见经典特效汇总》、《jQuery动画与特效用法总结》及《jquery选择器用法总结》

希望本文所述对大家jQuery程序设计有所帮助。

最新动态
大家感兴趣的内容
关于我们 - 广告合作 - 联系我们 - 免责声明 - 网站地图 - 投诉建议 - 在线投稿
严禁网站镜像,否则追究法律责任 CopyRight © 2015-2018 诺心网络 All Rights Reserved.
地址:杭州拱墅区祥园路38号浙报理想祥园创意园东区A319
电话:18958065710 微信:Evtailun 邮箱:476565345@qq.com
浙ICP备15017827号-1