亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

jQuery實現省市縣三級聯動菜單

發布時間:2020-04-06 10:52:43 來源:網絡 閱讀:600 作者:HarderXin 欄目:web開發
編寫省市縣數據,放在數組中,取名:provincesdata.js
/********** 省級數據 **********/  var GP =['安徽','澳門','北京','福建','甘肅','廣東','廣西','貴州','海南','河北','河南','黑龍江','湖北','湖南','吉林','江蘇','江西','遼寧','內蒙古','寧夏','青海','山東','山西','陜西','上海','四川','臺灣','天津','西藏','香港','新疆','云南','浙江','重慶','海外'];  /********** 市級數據 **********/  var GT = [  ['合肥','安慶','蚌埠','亳州','巢湖','池州','滁州','阜陽','淮北','淮南','黃山','六安','馬鞍山','宿州','銅陵','蕪湖','宣城'],  ['澳門'],  ['昌平','朝陽','崇文','大興','東城','房山','豐臺','海淀','懷柔','門頭溝','密云','平谷','石景山','順義','通州','西城','宣武','延慶'],  ['福州','龍巖','南平','寧德','莆田','泉州','三明','廈門','漳州'],  ['蘭州','白銀','定西','甘南','嘉峪關','金昌','酒泉','臨夏','隴南','平涼','慶陽','天水','武威','張掖'],  ['廣州','潮州','東莞','佛山','河源','惠州','江門','揭陽','茂名','梅州','清遠','汕頭','汕尾','韶關','深圳','陽江','云浮','湛江','肇慶','中山','珠海'],  ['桂林','百色','北海','崇左','防城港','貴港','河池','賀州','來賓','柳州','南寧','欽州','梧州','玉林'],  ['貴陽','安順','畢節','六盤水','黔東南','黔南','黔西南','銅仁','遵義'],  ['海口','白沙','保亭','昌江','澄邁','儋州','定安','東方','樂東','臨高','陵水','南沙群島','瓊海','瓊中','三亞','屯昌','萬寧','文昌','五指山','西沙群島','中沙群島'],  ['石家莊','保定','滄州','承德','邯鄲','衡水','廊坊','秦皇島','唐山','邢臺','張家口'],  ['鄭州','安陽','鶴壁','焦作','開封','洛陽','漯河','南陽','平頂山','濮陽','三門峽','商丘','新鄉','信陽','許昌','周口','駐馬店'],  ['哈爾濱','大慶','大興安嶺','鶴崗','黑河','雞西','佳木斯','牡丹江','七臺河','齊齊哈爾','雙鴨山','綏化','伊春'],  ['武漢','鄂州','恩施','黃岡','黃石','荊門','荊州','潛江','神農架','十堰','隨州','天門','仙桃','咸寧','襄樊','孝感','宜昌'],  ['長沙','常德','郴州','衡陽','懷化','婁底','邵陽','湘潭','湘西','益陽','永州','岳陽','張家界','株洲'],  ['長春','白城','白山','吉林','遼源','四平','松原','通化','延邊'],  ['南京','常州','淮安','連云港','南通','蘇州','宿遷','泰州','無錫','徐州','鹽城','揚州','鎮江'],  ['南昌','撫州','贛州','吉安','景德鎮','九江','萍鄉','上饒','新余','宜春','鷹潭'],  ['沈陽','鞍山','本溪','朝陽','大連','丹東','撫順','阜新','葫蘆島','錦州','遼陽','盤錦','鐵嶺','營口'],  ['呼和浩特','阿拉善','巴彥淖爾','包頭','赤峰','鄂爾多斯','呼倫貝爾','通遼','烏海','烏蘭察布','錫林郭勒','興安'],  ['銀川','固原','石嘴山','吳忠','中衛'],  ['西寧','果洛','海北','海東','海南','海西','黃南','玉樹'],  ['濟南','濱州','德州','東營','菏澤','濟寧','萊蕪','聊城','臨沂','青島','日照','泰安','威海','濰坊','煙臺','棗莊','淄博'],  ['太原','長治','大同','晉城','晉中','臨汾','呂梁','朔州','忻州','陽泉','運城'],  ['西安','安康','寶雞','漢中','商洛','銅川','渭南','咸陽','延安','榆林'],  ['寶山','長寧','崇明','奉賢','虹口','黃浦','嘉定','金山','靜安','盧灣','閔行','南匯','浦東','普陀','青浦','松江','徐匯','楊浦','閘北'],  ['成都','阿壩','巴中','達州','德陽','甘孜','廣安','廣元','樂山','涼山','瀘州','眉山','綿陽','內江','南充','攀枝花','遂寧','雅安','宜賓','資陽','自貢'],  ['臺北','阿蓮','安定','安平','八德','八里','白河','白沙','板橋','褒忠','寶山','卑南','北斗','北港','北門','北埔','北投','補子','布袋','草屯','長賓','長治','潮州','車城','成功','城中區','池上','春日','刺桐','高雄','花蓮','基隆','嘉義','苗栗','南投','屏東','臺東','臺南','臺中','桃園','新竹','宜蘭','彰化'],  ['寶坻','北辰','大港','東麗','漢沽','和平','河北','河東','河西','紅橋','薊縣','津南','靜海','南開','寧河','塘沽','武清','西青'],  ['拉薩','阿里','昌都','林芝','那曲','日喀則','山南'],  ['北區','大埔區','東區','觀塘區','黃大仙區','九龍','葵青區','離島區','南區','荃灣區','沙田區','深水埗區','屯門區','灣仔區','西貢區','香港','新界','油尖旺區','元朗區','中西區'],  ['烏魯木齊','阿克蘇','阿拉爾','阿勒泰','巴音郭楞','博爾塔拉','昌吉','哈密','和田','喀什','克拉瑪依','克孜勒蘇柯爾克孜','石河子','塔城','圖木舒克','吐魯番','五家渠','伊犁'],  ['昆明','保山','楚雄','大理','德宏','迪慶','紅河','麗江','臨滄','怒江','曲靖','思茅','文山','西雙版納','玉溪','昭通'],  ['杭州','湖州','嘉興','金華','麗水','寧波','衢州','紹興','臺州','溫州','舟山'],  ['巴南','北碚','璧山','長壽','城口','大渡口','大足','墊江','豐都','奉節','涪陵','合川','江北','江津','九龍坡','開縣','梁平','南岸','南川','彭水','綦江','黔江','榮昌','沙坪壩','石柱','雙橋','銅梁','潼南','萬盛','萬州','巫山','巫溪','武隆','秀山','永川','酉陽','渝北','渝中','云陽','忠縣'],  ['阿根廷','埃及','愛爾蘭','奧地利','奧克蘭','澳大利亞','巴基斯坦','巴西','保加利亞','比利時','冰島','朝鮮','丹麥','德國','俄羅斯','法國','菲律賓','芬蘭','哥倫比亞','韓國','荷蘭','加拿大','柬埔寨','喀麥隆','老撾','盧森堡','羅馬尼亞','馬達加斯加','馬來西亞','毛里求斯','美國','秘魯','×××','墨西哥','南非','尼泊爾','挪威','葡萄牙','其它地區','日本','瑞典','瑞士','斯里蘭卡','泰國','土耳其','委內瑞拉','文萊','烏克蘭','西班牙','希臘','新加坡','新西蘭','匈牙利','以色列','意大利','印度','印度尼西亞','英國','越南','智利']  ];  /********** 市二級數據 **********/  var GC =  [  [  ['長豐','肥東','肥西','合肥市'],  ['安慶市','樅陽','懷寧','潛山','宿松','太湖','桐城','望江','岳西'],  ['蚌埠市','固鎮','懷遠','五河'],  ['亳州市','利辛','蒙城','渦陽'],  ['巢湖市','含山','和縣','廬江','無為'],  ['池州市','東至','青陽','石臺'],  ['滁州市','定遠','鳳陽','來安','明光','全椒','天長'],  ['阜南','阜陽市','界首','臨泉','太和','潁上'],  ['淮北市','濉溪'],  ['鳳臺','淮南市'],  ['黃山市','祁門','歙縣','休寧','黟縣'],  ['霍邱','霍山','金寨','六安市','壽縣','舒城'],  ['當涂','馬鞍山市'],  ['碭山','靈璧','泗縣','宿州市','蕭縣'],  ['銅陵市','銅陵縣'],  ['繁昌','南陵','蕪湖市','蕪湖縣'],  ['廣德','績溪','涇縣','旌德','郎溪','寧國','宣城市']  ],  [  ['澳門']  ],  [  ['昌平'],  ['朝陽'],  ['崇文'],  ['大興'],  ['東城'],  ['房山'],  ['豐臺'],  ['海淀'],  ['懷柔'],  ['門頭溝'],  ['密云'],  ['平谷'],  ['石景山'],  ['順義'],  ['通州'],  ['西城'],  ['宣武'],  ['延慶']  ],  [  ['長樂','福清','福州市','連江','羅源','閩侯','閩清','平潭','永泰'],  ['長汀','連城','龍巖市','上杭','武平','永定','漳平'],  ['光澤','建甌','建陽','南平市','浦城','邵武','順昌','松溪','武夷山','政和'],  ['福安','福鼎','古田','寧德市','屏南','壽寧','霞浦','柘榮','周寧'],  ['莆田市','仙游'],  ['安溪','德化','惠安','金門','晉江','南安','泉州市','石獅','永春'],  ['大田','建寧','將樂','明溪','寧化','清流','三明市','沙縣','泰寧','永安','尤溪'],  ['廈門市'],  ['長泰','東山','華安','龍海','南靖','平和','云霄','漳浦','漳州市','詔安']  ],  [  ['皋蘭','蘭州市','永登','榆中'],  ['白銀市','會寧','景泰','靖遠'],  ['定西市','臨洮','隴西','岷縣','通渭','渭源','漳縣'],  ['迭部','合作','臨潭','碌曲','瑪曲','夏河','舟曲','卓尼'],  ['嘉峪關市'],  ['金昌市','永昌'],  ['阿克塞','敦煌','瓜州','金塔','酒泉市','肅北','玉門'],  ['東鄉族','廣河','和政','積石山','康樂','臨夏市','臨夏縣','永靖'],  ['成縣','宕昌','徽縣','康縣','禮縣','兩當','隴南市','文縣','西和'],  ['崇信','華亭','涇川','靜寧','靈臺','平涼市','莊浪'],  ['合水','華池','環縣','寧縣','慶城','慶陽市','鎮原','正寧'],  ['甘谷','秦安','清水','天水市','武山','張家川'],  ['古浪','民勤','天祝','武威市'],  ['高臺','臨澤','民樂','山丹','肅南','張掖市']  ],  [  ['從化','廣州市','增城'],  ['潮安','潮州市','饒平'],  ['東莞'],  ['佛山市'],  ['東源','和平','河源市','連平','龍川','紫金'],  ['博羅','惠東','惠州市','龍門'],  ['恩平','鶴山','江門市','開平','臺山'],  ['惠來','揭東','揭西','揭陽市','普寧'],  ['電白','高州','化州','茂名市','信宜'],  ['大埔','豐順','蕉嶺','梅縣','梅州市','平遠','五華','興寧'],  ['佛岡','連南','連山','連州','清新','清遠市','陽山','英德'],  ['南澳','汕頭市'],  ['海豐','陸豐','陸河','汕尾市'],  ['樂昌','南雄','仁化','乳源','韶關市','始興','翁源','新豐'],  ['深圳市'],  ['陽春','陽東','陽江市','陽西'],  ['羅定','新興','郁南','云安','云浮市'],  ['雷州','廉江','遂溪','吳川','徐聞','湛江市'],  ['德慶','封開','高要','廣寧','懷集','四會','肇慶市'],  ['中山市'],  ['珠海市']  ],  [  ['恭城','灌陽','桂林市','荔蒲','臨桂','靈川','龍勝','平樂','全州','興安','陽朔','永福','資源'],  ['百色市','德保','靖西','樂業','凌云','隆林','那坡','平果','田東','田林','田陽','西林'],  ['北海市','合浦'],  ['崇左市','大新','扶綏','龍州','寧明','憑祥','天等'],  ['東興','防城港市','上思'],  ['貴港市','桂平','平南'],  ['巴馬','大化','東蘭','都安','鳳山','河池市','環江','羅城','南丹','天峨','宜州'],  ['富川','賀州市','昭平','鐘山'],  ['合山','金秀','來賓市','武宣','象州','忻城'],  ['柳城','柳江','柳州市','鹿寨','融安','融水','三江'],  ['賓陽','橫縣','隆安','馬山','南寧市','上林','武鳴'],  ['靈山','浦北','欽州市'],  ['蒼梧','岑溪','蒙山','藤縣','梧州市'],  ['北流','博白','陸川','容縣','興業','玉林市']  ],  [  ['貴陽市','開陽','清鎮','息烽','修文'],  ['安順市','關嶺','平壩','普定','鎮寧','紫云'],  ['畢節市','大方','赫章','金沙','納雍','黔西','威寧','織金'],  ['六盤水市','六枝','盤縣','水城'],  ['岑鞏','從江','丹寨','黃平','劍河','錦屏','凱里','雷山','黎平','麻江','榕江','三穗','施秉','臺江','天柱','鎮遠'],  ['長順','都勻','獨山','福泉','貴定','惠水','荔波','龍里','羅甸','平塘','三都','甕安'],  ['安龍','冊亨','普安','晴隆','望謨','興仁','興義','貞豐'],  ['德江','江口','石阡','思南','松桃','銅仁市','萬山','沿河','印江','玉屏'],  ['赤水','道真','鳳岡','湄潭','仁懷','綏陽','桐梓','務川','習水','余慶','正安','遵義市','遵義縣']  ],  [  ['海口'],  ['白沙'],  ['保亭'],  ['昌江'],  ['澄邁'],  ['儋州'],  ['定安'],  ['東方'],  ['樂東'],  ['臨高'],  ['陵水'],  ['南沙群島'],  ['瓊海'],  ['瓊中'],  ['三亞'],  ['屯昌'],  ['萬寧'],  ['文昌'],  ['五指山'],  ['西沙群島'],  ['中沙群島']  ],  [  ['藁城','晉州','井陘','靈壽','鹿泉','欒城','平山','深澤','石家莊市','無極','辛集','新樂','行唐','元氏','贊皇','趙縣','正定','高邑'],  ['安國','安新','保定市','博野','定興','定州','阜平','高碑店','高陽','淶水','淶源','蠡縣','滿城','清苑','曲陽','容城','順平','唐縣','望都','雄縣','徐水','易縣','涿州'],  ['泊頭','滄縣','滄州市','東光','海興','河間','黃驊','孟村','南皮','青縣','任丘','肅寧','吳橋','獻縣','鹽山'],  ['承德市','承德縣','豐寧','寬城','隆化','灤平','平泉','圍場','興隆'],  ['成安','磁縣','大名','肥鄉','館陶','廣平','邯鄲市','邯鄲縣','雞澤','臨漳','邱縣','曲周','涉縣','魏縣','武安','永年'],  ['安平','阜城','故城','衡水市','冀州','景縣','饒陽','深州','武強','武邑','棗強'],  ['霸州','大廠','大城','固安','廊坊市','三河','文安','香河','永清'],  ['昌黎','撫寧','盧龍','秦皇島市','青龍'],  ['樂亭','灤南','灤縣','遷安','遷西','唐海','唐山市','玉田','遵化'],  ['柏鄉','廣宗','巨鹿','臨城','臨西','隆堯','內丘','南宮','南和','寧晉','平鄉','清河','任縣','沙河','威縣','新河','邢臺市','邢臺縣'],  ['赤城','崇禮','沽源','懷安','懷來','康保','尚義','萬全','蔚縣','宣化','陽原','張北','張家口市','涿鹿']  ],  [  ['登封','鞏義','新密','新鄭','滎陽','鄭州市','中牟'],  ['安陽市','安陽縣','滑縣','林州','內黃','湯陰'],  ['鶴壁市','浚縣','淇縣'],  ['博愛','濟源','焦作市','孟州','沁陽','溫縣','武陟','修武'],  ['開封市','開封縣','蘭考','杞縣','通許','尉氏'],  ['欒川','洛寧','洛陽市','孟津','汝陽','嵩縣','新安','偃師','伊川','宜陽'],  ['臨潁','漯河市','舞陽'],  ['鄧州','方城','內鄉','南陽市','南召','社旗','唐河','桐柏','西峽','淅川','新野','鎮平'],  ['寶豐','郟縣','魯山','平頂山市','汝州','舞鋼','葉縣'],  ['范縣','南樂','濮陽市','濮陽縣','清豐','臺前'],  ['靈寶','盧氏','三門峽市','陜縣','澠池','義馬'],  ['民權','寧陵','商丘市','睢縣','夏邑','永城','虞城','柘城'],  ['長垣','封丘','輝縣','獲嘉','衛輝','新鄉市','新鄉縣','延津','原陽'],  ['固始','光山','淮濱','潢川','羅山','商城','息縣','新縣','信陽市'],  ['長葛','襄城','許昌市','許昌縣','鄢陵','禹州'],  ['鄲城','扶溝','淮陽','鹿邑','商水','沈丘','太康','西華','項城','周口市'],  ['泌陽','平輿','確山','汝南','上蔡','遂平','西平','新蔡','正陽','駐馬店市']  ],  [  ['巴彥','賓縣','方正','哈爾濱市','木蘭','尚志','雙城','通河','五常','延壽','依蘭'],  ['大慶市','杜爾伯特','林甸','肇源','肇州'],  ['呼瑪','呼中','加格達奇','漠河','松嶺','塔河','新林'],  ['鶴崗市','蘿北','綏濱'],  ['北安','黑河市','嫩江','孫吳','五大連池','遜克'],  ['虎林','雞東','雞西市','密山'],  ['撫遠','富錦','樺川','樺南','佳木斯市','湯原','同江'],  ['東寧','海林','林口','牡丹江市','穆棱','寧安','綏芬河'],  ['勃利','七臺河'],  ['拜泉','富裕','甘南','克東','克山','龍江','訥河','齊齊哈爾市','泰來','依安'],  ['寶清','集賢','饒河','雙鴨山市','友誼'],  ['安達','海倫','蘭西','明水','青岡','慶安','綏化市','綏棱','望奎','肇東'],  ['嘉蔭','鐵力','伊春市']  ],  [  ['武漢市'],  ['鄂州市'],  ['巴東','恩施市','鶴峰','建始','來鳳','利川','咸豐','宣恩'],  ['紅安','黃岡市','黃梅','羅田','麻城','蘄春','團風','武穴','浠水','英山'],  ['大冶','黃石','陽新'],  ['京山','荊門市','沙洋','鐘祥'],  ['公安','洪湖','監利','江陵','荊州市','石首','松滋'],  ['潛江'],  ['神農架'],  ['丹江口','房縣','十堰市','鄖西','鄖縣','竹山','竹溪'],  ['廣水','隨州市'],  ['天門市'],  ['仙桃市'],  ['赤壁','崇陽','嘉魚','通城','通山','咸寧市'],  ['保康','谷城','老河口','南漳','襄樊市','宜城','棗陽'],  ['安陸','大悟','漢川','孝昌','孝感市','應城','云夢'],  ['長陽','當陽','五峰','興山','宜昌市','宜都','遠安','枝江','秭歸']  ],  [  ['長沙市','長沙縣','瀏陽','寧鄉','望城'],  ['安鄉','常德市','漢壽','津市','澧縣','臨澧','石門','桃源'],  ['安仁','郴州市','桂東','桂陽','嘉禾','臨武','汝城','宜章','永興','資興'],  ['常寧','衡東','衡南','衡山','衡陽市','衡陽縣','耒陽','祁東'],  ['辰溪','洪江','懷化市','會同','靖州','麻陽','通道','新晃','溆浦','沅陵','芷江','中方'],  ['冷水江','漣源','婁底市','雙峰','新化'],  ['城步','洞口','隆回','邵東','邵陽市','邵陽縣','綏寧','武岡','新寧','新邵'],  ['韶山','湘潭市','湘潭縣','湘鄉'],  ['保靖','鳳凰','古丈','花垣','吉首','龍山','瀘溪','永順'],  ['安化','南縣','桃江','益陽市','沅江'],  ['道縣','東安','江華','江永','藍山','寧遠','祁陽','雙牌','新田','永州市'],  ['華容','臨湘','汨羅','平江','湘陰','岳陽市','岳陽縣'],  ['慈利','桑植','張家界市'],  ['茶陵','醴陵','炎陵','攸縣','株洲市','株洲縣']  ],  [  ['長春市','德惠','九臺','農安','榆樹'],  ['白城市','大安','洮南','通榆','鎮賚'],  ['白山','長白','撫松','靖宇','臨江'],  ['樺甸','吉林市','蛟河','磐石','舒蘭','永吉'],  ['東豐','東遼','遼源市'],  ['公主嶺','梨樹','雙遼','四平市','伊通'],  ['長嶺','扶余','前郭爾羅斯','乾安','松原市'],  ['輝南','集安','柳河','梅河口','通化市','通化縣'],  ['延吉市','敦化','和龍','琿春','龍井','圖們','汪清','安圖']  ],  [  ['高淳','溧水','南京市'],  ['常州市','金壇','溧陽'],  ['洪澤','淮安市','金湖','漣水','盱眙'],  ['東海','贛榆','灌南','灌云','連云港市'],  ['海安','海門','南通市','啟東','如東','如皋','通州'],  ['常熟','昆山','蘇州市','太倉','吳江','張家港'],  ['沭陽','泗洪','泗陽','宿遷市'],  ['姜堰','靖江','泰興','泰州市','興化'],  ['江陰','無錫市','宜興'],  ['豐縣','沛縣','邳州','睢寧','銅山','新沂','徐州市'],  ['濱海','大豐','東臺','阜寧','建湖','射陽','響水','鹽城市'],  ['寶應','高郵','江都','揚州市','儀征'],  ['丹陽','句容','揚中','鎮江市']  ],  [  ['安義','進賢','南昌市','南昌縣','新建'],  ['崇仁','東鄉','撫州市','廣昌','金溪','樂安','黎川','南城','南豐','宜黃','資溪'],  ['安遠','崇義','大余','定南','贛縣','贛州市','會昌','龍南','南康','寧都','全南','瑞金','上猶','石城','信豐','興國','尋烏','于都'],  ['安福','吉安市','吉安縣','吉水','井岡山','遂川','泰和','萬安','峽江','新干','永豐','永新'],  ['浮梁','景德鎮市','樂平'],  ['德安','都昌','湖口','九江市','九江縣','彭澤','瑞昌','武寧','星子','修水','永修'],  ['蓮花','蘆溪','萍鄉市','上栗'],  ['德興','廣豐','橫峰','鄱陽','鉛山','上饒市','上饒縣','萬年','婺源','弋陽','余干','玉山'],  ['分宜','新余市'],  ['豐城','奉新','高安','靖安','上高','銅鼓','萬載','宜春市','宜豐','樟樹'],  ['貴溪','鷹潭市','余江']  ],  [  ['法庫','康平','遼中','沈陽市','新民'],  ['鞍山市','海城','臺安','岫巖'],  ['本溪市','本溪縣','桓仁'],  ['北票','朝陽市','朝陽縣','建平','喀喇沁左翼','凌源'],  ['長海','大連市','普蘭店','瓦房店','莊河'],  ['丹東市','東港','鳳城','寬甸'],  ['撫順市','撫順縣','清原','新賓'],  ['阜新市','阜新縣','彰武'],  ['葫蘆島市','建昌','綏中','興城'],  ['北鎮','黑山','錦州市','凌海','義縣'],  ['燈塔','遼陽市','遼陽縣'],  ['大洼','盤錦市','盤山'],  ['昌圖','調兵山','開原','鐵嶺市','鐵嶺縣','西豐'],  ['大石橋','蓋州','營口市']  ],  [  ['和林格爾','呼和浩特市','清水河','土默特左旗','托克托','武川'],  ['阿拉善右旗','阿拉善左旗','額濟納旗'],  ['巴彥淖爾市','磴口','杭錦后旗','烏拉特后旗','烏拉特前旗','烏拉特中旗','五原'],  ['包頭市','達爾罕茂明安聯合旗','固陽','土默特右旗'],  ['阿魯科爾沁旗','敖漢旗','巴林右旗','巴林左旗','赤峰市','喀喇沁旗','克什克騰旗','林西','寧城','翁牛特旗'],  ['達拉特旗','鄂爾多斯市','鄂托克旗','鄂托克前旗','杭錦旗','烏審旗','伊金霍洛旗','準格爾旗'],  ['阿榮旗','陳巴爾虎旗','額爾古納','鄂倫春旗','鄂溫克族旗','根河','呼倫貝爾市','滿洲里','莫力達瓦旗','新巴爾虎右旗','新巴爾虎左旗','牙克石','扎蘭屯'],  ['霍林郭勒','開魯','科爾沁左翼后旗','科爾沁左翼中旗','庫倫旗','奈曼旗','通遼市','扎魯特旗'],  ['烏海'],  ['察哈爾右翼后旗','察哈爾右翼前旗','察哈爾右翼中旗','豐鎮','化德','涼城','商都','四子王旗','烏蘭察布市','興和','卓資'],  ['阿巴嘎旗','東烏珠穆沁旗','多倫','二連浩特','蘇尼特右旗','蘇尼特左旗','太仆寺旗','西烏珠穆沁旗','錫林郭勒市','鑲黃旗','正藍旗','正鑲白旗'],  ['阿爾山','科爾沁右翼前旗','科爾沁右翼中旗','突泉','烏蘭浩特','扎賚特旗']  ],  [  ['賀蘭','靈武','銀川市','永寧'],  ['固原市','涇源','隆德','彭陽','西吉'],  ['平羅','石嘴山市'],  ['青銅峽','同心','吳忠市','鹽池'],  ['海原','中寧','中衛市']  ],  [  ['大通','湟源','湟中','西寧市'],  ['班瑪','達日','甘德','久治','瑪多','瑪沁'],  ['剛察','海晏','門源','祁連'],  ['互助','化隆','樂都','民和','平安','循化'],  ['共和','貴德','貴南','同德','興海'],  ['大柴旦','德令哈','都蘭','格爾木','冷湖','茫崖','天峻','烏蘭'],  ['河南','尖扎','同仁','澤庫'],  ['稱多','囊謙','曲麻萊','玉樹','雜多','治多']  ],  [  ['濟南市','濟陽','平陰','商河','章丘'],  ['濱州市','博興','惠民','無棣','陽信','沾化','鄒平'],  ['德州市','樂陵','臨邑','陵縣','寧津','平原','齊河','慶云','武城','夏津','禹城'],  ['東營市','廣饒','墾利','利津'],  ['曹縣','成武','單縣','定陶','東明','菏澤市','巨野','鄄城','鄆城'],  ['濟寧市','嘉祥','金鄉','梁山','曲阜','泗水','微山','汶上','兗州','魚臺','鄒城'],  ['萊蕪市'],  ['茌平','東阿','高唐','冠縣','聊城市','臨清','莘縣','陽谷'],  ['蒼山','費縣','莒南','臨沭','臨沂市','蒙陰','平邑','郯城','沂南','沂水'],  ['即墨','膠南','膠州','萊西','平度','青島市'],  ['莒縣','日照市','五蓮'],  ['東平','肥城','寧陽','泰安市','新泰'],  ['榮成','乳山','威海市','文登'],  ['安丘','昌樂','昌邑','高密','臨朐','青州','壽光','濰坊市','諸城'],  ['長島','海陽','萊陽','萊州','龍口','蓬萊','棲霞','煙臺市','招遠'],  ['滕州','棗莊市'],  ['高青','桓臺','沂源','淄博市']  ],  [  ['古交','婁煩','清徐','太原市','陽曲'],  ['長治市','長治縣','長子','壺關','黎城','潞城','平順','沁縣','沁源','屯留','武鄉','襄垣'],  ['大同市','大同縣','廣靈','渾源','靈丘','天鎮','陽高','左云'],  ['高平','晉城市','陵川','沁水','陽城','澤州'],  ['和順','介休','晉中市','靈石','平遙','祁縣','壽陽','太谷','昔陽','榆社','左權'],  ['安澤','大寧','汾西','浮山','古縣','洪洞','侯馬','霍州','吉縣','臨汾市','蒲縣','曲沃','隰縣','鄉寧','襄汾','翼城','永和'],  ['方山','汾陽','交城','交口','嵐縣','臨縣','柳林','呂梁市','石樓','文水','孝義','興縣','中陽'],  ['懷仁','山陰','朔州市','應縣','右玉'],  ['保德','代縣','定襄','繁峙','河曲','靜樂','岢嵐','寧武','偏關','神池','五臺','五寨','忻州市','原平'],  ['平定','陽泉市','盂縣'],  ['河津','稷山','絳縣','臨猗','平陸','芮城','萬榮','聞喜','夏縣','新絳','永濟','垣曲','運城市']  ],  [  ['高陵','戶縣','藍田','西安市','周至'],  ['安康市','白河','漢陰','嵐皋','寧陜','平利','石泉','旬陽','鎮坪','紫陽'],  ['寶雞市','鳳縣','鳳翔','扶風','麟游','隴縣','眉縣','岐山','千陽','太白'],  ['城固','佛坪','漢中市','留壩','略陽','勉縣','南鄭','寧強','西鄉','洋縣','鎮巴'],  ['丹鳳','洛南','山陽','商洛市','商南','鎮安','柞水'],  ['銅川市','宜君'],  ['白水','澄城','大荔','富平','韓城','合陽','華縣','華陰','蒲城','潼關','渭南市'],  ['彬縣','長武','淳化','涇陽','禮泉','乾縣','三原','武功','咸陽市','興平','旬邑','永壽'],  ['安塞','富縣','甘泉','黃陵','黃龍','洛川','吳起','延安市','延長','延川','宜川','志丹','子長'],  ['定邊','府谷','橫山','佳縣','靖邊','米脂','清澗','神木','綏德','吳堡','榆林市','子洲']  ],  [  ['寶山'],  ['長寧'],  ['崇明'],  ['奉賢'],  ['虹口'],  ['黃浦'],  ['嘉定'],  ['金山'],  ['靜安'],  ['盧灣'],  ['閔行'],  ['南匯'],  ['浦東'],  ['普陀'],  ['青浦'],  ['松江'],  ['徐匯'],  ['楊浦'],  ['閘北']  ],  [  ['成都市','崇州','大邑','都江堰','金堂','彭州','郫縣','蒲江','邛崍','雙流','新津'],  ['阿壩','黑水','紅原','金川','九寨溝','理縣','馬爾康','茂縣','壤塘','若爾蓋','松潘','汶川','小金'],  ['巴中市','南江','平昌','通江'],  ['達縣','達州市','大竹','開江','渠縣','萬源','宣漢'],  ['德陽市','廣漢','羅江','綿竹','什邡','中江'],  ['巴塘','白玉','丹巴','道孚','稻城','得榮','德格','甘孜','九龍','康定','理塘','瀘定','爐霍','色達','石渠','鄉城','新龍','雅江'],  ['廣安市','華鎣','鄰水','武勝','岳池'],  ['蒼溪','廣元市','劍閣','青川','旺蒼'],  ['峨邊','峨眉山','夾江','犍為','井研','樂山市','馬邊','沐川'],  ['布拖','德昌','甘洛','會東','會理','金陽','雷波','美姑','冕寧','木里','寧南','普格','西昌','喜德','鹽源','越西','昭覺'],  ['古藺','合江','瀘縣','瀘州市','敘永'],  ['丹棱','洪雅','眉山市','彭山','青神','仁壽'],  ['安縣','北川','江油','綿陽市','平武','三臺','鹽亭','梓潼'],  ['隆昌','內江市','威遠','資中'],  ['閬中','南部','南充市','蓬安','西充','儀隴','營山'],  ['米易','攀枝花市','鹽邊'],  ['大英','蓬溪','射洪','遂寧市'],  ['寶興','漢源','蘆山','名山','石棉','天全','雅安市','滎經'],  ['長寧','高縣','珙縣','江安','筠連','南溪','屏山','興文','宜賓市','宜賓縣'],  ['安岳','簡陽','樂至','資陽市'],  ['富順','榮縣','自貢市']  ],  [  ['臺北'],  ['阿蓮'],  ['安定'],  ['安平'],  ['八德'],  ['八里'],  ['白河'],  ['白沙'],  ['板橋'],  ['褒忠'],  ['寶山'],  ['卑南'],  ['北斗'],  ['北港'],  ['北門'],  ['北埔'],  ['北投'],  ['補子'],  ['布袋'],  ['草屯'],  ['長賓'],  ['長治'],  ['潮州'],  ['車城'],  ['成功'],  ['城中區'],  ['池上'],  ['春日'],  ['刺桐'],  ['高雄'],  ['花蓮'],  ['基隆'],  ['嘉義'],  ['苗栗'],  ['南投'],  ['屏東'],  ['臺東'],  ['臺南'],  ['臺中'],  ['桃園'],  ['新竹'],  ['宜蘭'],  ['彰化']  ],  [  ['寶坻'],  ['北辰'],  ['大港'],  ['東麗'],  ['漢沽'],  ['和平'],  ['河北'],  ['河東'],  ['河西'],  ['紅橋'],  ['薊縣'],  ['津南'],  ['靜海'],  ['南開'],  ['寧河'],  ['塘沽'],  ['武清'],  ['西青']  ],  [  ['達孜','當雄','堆龍德慶','拉薩市','林周','墨竹工卡','尼木','曲水'],  ['措勤','噶爾','改則','革吉','普蘭','日土','札達'],  ['八宿','邊壩','察雅','昌都','丁青','貢覺','江達','類烏齊','洛隆','芒康','左貢'],  ['波密','察隅','工布江達','朗縣','林芝','米林','墨脫'],  ['安多','巴青','班戈','比如','嘉黎','那曲','尼瑪','聶榮','申扎','索縣'],  ['昂仁','白朗','定結','定日','崗巴','吉隆','江孜','康馬','拉孜','南木林','聶拉木','仁布','日喀則市','薩嘎','薩迦','謝通門','亞東','仲巴'],  ['措美','錯那','貢嘎','加查','浪卡子','隆子','洛扎','乃東','瓊結','曲松','桑日','扎囊']  ],  [  ['北區'],  ['大埔區'],  ['東區'],  ['觀塘區'],  ['黃大仙區'],  ['九龍'],  ['葵青區'],  ['離島區'],  ['南區'],  ['荃灣區'],  ['沙田區'],  ['深水埗區'],  ['屯門區'],  ['灣仔區'],  ['西貢區'],  ['香港'],  ['新界'],  ['油尖旺區'],  ['元朗區'],  ['中西區']  ],  [  ['烏魯木齊市','烏魯木齊縣'],  ['阿克蘇市','阿瓦提','拜城','柯坪','庫車','沙雅','溫宿','烏什','新和'],  ['阿拉爾'],  ['阿勒泰','布爾津','福海','富蘊','哈巴河','吉木乃','青河'],  ['博湖','和靜','和碩','庫爾勒','輪臺','且末','若羌','尉犁','焉耆'],  ['博樂','精河','溫泉'],  ['昌吉市','阜康','呼圖壁','吉木薩爾','瑪納斯','米泉','木壘','奇臺'],  ['巴里坤','哈密市','伊吾'],  ['策勒','和田市','和田縣','洛浦','民豐','墨玉','皮山','于田'],  ['巴楚','伽師','喀什市','麥蓋提','莎車','疏附','疏勒','塔什庫爾干塔吉克','葉城','英吉沙','岳普湖','澤普'],  ['克拉瑪依'],  ['阿合奇','阿克陶','阿圖什','烏恰'],  ['石河子'],  ['額敏','和布克賽爾','沙灣','塔城市','托里','烏蘇','裕民'],  ['圖木舒克'],  ['鄯善','吐魯番市','托克遜'],  ['五家渠'],  ['察布查爾錫伯','鞏留','霍城','奎屯','尼勒克','特克斯','新源','伊寧市','伊寧縣','昭蘇']  ],  [  ['安寧','呈貢','富民','晉寧','昆明市','祿勸','石林','嵩明','尋甸','宜良'],  ['保山市','昌寧','龍陵','施甸','騰沖'],  ['楚雄市','大姚','祿豐','牟定','南華','雙柏','武定','姚安','永仁','元謀'],  ['賓川','大理市','洱源','鶴慶','劍川','彌渡','南澗','巍山','祥云','漾濞','永平','云龍'],  ['梁河','隴川','潞西','瑞麗','盈江'],  ['德欽','維西','香格里拉'],  ['個舊','河口','紅河','建水','金平','開遠','瀘西','綠春','蒙自','彌勒','屏邊','石屏','元陽'],  ['華坪','麗江市','寧蒗','永勝','玉龍'],  ['滄源','鳳慶','耿馬','臨滄市','雙江','永德','云縣','鎮康'],  ['福貢','貢山','蘭坪','瀘水'],  ['富源','會澤','陸良','羅平','馬龍','曲靖市','師宗','宣威','沾益'],  ['江城','景東','景谷','瀾滄','孟連','墨江','普洱','思茅市','西盟','鎮沅'],  ['富寧','廣南','麻栗坡','馬關','丘北','文山','西疇','硯山'],  ['景洪','勐海','勐臘'],  ['澄江','峨山','華寧','江川','通海','新平','易門','玉溪市','元江'],  ['大關','魯甸','巧家','水富','綏江','威信','鹽津','彝良','永善','昭通市','鎮雄']  ],  [  ['淳安','富陽','杭州市','建德','臨安','桐廬'],  ['安吉','長興','德清','湖州市'],  ['海寧','海鹽','嘉善','嘉興市','平湖','桐鄉'],  ['東陽','金華市','蘭溪','磐安','浦江','武義','義烏','永康'],  ['縉云','景寧','麗水市','龍泉','青田','慶元','松陽','遂昌','云和'],  ['慈溪','奉化','寧波市','寧海','象山','余姚'],  ['常山','江山','開化','龍游','衢州市'],  ['上虞','紹興市','紹興縣','嵊州','新昌','諸暨'],  ['臨海','三門','臺州市','天臺','溫嶺','仙居','玉環'],  ['蒼南','洞頭','樂清','平陽','瑞安','泰順','溫州市','文成','永嘉'],  ['岱山','嵊泗','舟山市']  ],  [  ['巴南'],  ['北碚'],  ['璧山'],  ['長壽'],  ['城口'],  ['大渡口'],  ['大足'],  ['墊江'],  ['豐都'],  ['奉節'],  ['涪陵'],  ['合川'],  ['江北'],  ['江津'],  ['九龍坡'],  ['開縣'],  ['梁平'],  ['南岸'],  ['南川'],  ['彭水'],  ['綦江'],  ['黔江'],  ['榮昌'],  ['沙坪壩'],  ['石柱'],  ['雙橋'],  ['銅梁'],  ['潼南'],  ['萬盛'],  ['萬州'],  ['巫山'],  ['巫溪'],  ['武隆'],  ['秀山'],  ['永川'],  ['酉陽'],  ['渝北'],  ['渝中'],  ['云陽'],  ['忠縣']  ],  [  ['阿根廷'],  ['埃及'],  ['愛爾蘭'],  ['奧地利'],  ['奧克蘭'],  ['澳大利亞'],  ['巴基斯坦'],  ['巴西'],  ['保加利亞'],  ['比利時'],  ['冰島'],  ['朝鮮'],  ['丹麥'],  ['德國'],  ['俄羅斯'],  ['法國'],  ['菲律賓'],  ['芬蘭'],  ['哥倫比亞'],  ['韓國'],  ['荷蘭'],  ['加拿大'],  ['柬埔寨'],  ['喀麥隆'],  ['老撾'],  ['盧森堡'],  ['羅馬尼亞'],  ['馬達加斯加'],  ['馬來西亞'],  ['毛里求斯'],  ['美國'],  ['秘魯'],  ['×××'],  ['墨西哥'],  ['南非'],  ['尼泊爾'],  ['挪威'],  ['葡萄牙'],  ['其它地區'],  ['日本'],  ['瑞典'],  ['瑞士'],  ['斯里蘭卡'],  ['泰國'],  ['土耳其'],  ['委內瑞拉'],  ['文萊'],  ['烏克蘭'],  ['西班牙'],  ['希臘'],  ['新加坡'],  ['新西蘭'],  ['匈牙利'],  ['以色列'],  ['意大利'],  ['印度'],  ['印度尼西亞'],  ['英國'],  ['越南'],  ['智利']  ]  ]

在網址上下載兩個js包:

jQuery三級聯動支持包:http://www.bljft.com/jiaoxiao/ss/jquery.provincesCity.js

jQuery包:http://www.oschina.net/code/explore/osqa/forum/skins/default/media/js/jquery-1.2.6.js

 

編寫demo:

<!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>   <title>jQuery 三級地市級聯菜單_http://www.codefans.net</title>   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    <style>  	#test select{  		width:100px;  		margin-left:20px;  	}    </style>        <script src="jquery-1[1].2.6.js" type="text/javascript"></script>    <script src="jquery.provincesCity.js" type="text/javascript"></script>    <script src="provincesdata.js" type="text/javascript"></script>    <script>  	//調用插件  	$(function(){  		$("#test").ProvinceCity();  	});    </script>  </head>  <body>  	<div id="test"></div>  </body>  </html>


 

 

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

屯留县| 衡南县| 普兰店市| 贡觉县| 斗六市| 永安市| 广饶县| 小金县| 孟津县| 兴化市| 西安市| 博罗县| 古蔺县| 沂源县| 尼勒克县| 偃师市| 陇西县| 上栗县| 高唐县| 察雅县| 海原县| 建昌县| 闵行区| 芜湖市| 新沂市| 海伦市| 五峰| 乌兰县| 南部县| 上林县| 枝江市| 仙桃市| 五台县| 翼城县| 天水市| 玉树县| 许昌市| 河曲县| 宜宾县| 陈巴尔虎旗| 买车|