成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

javascript重慶,重慶jsg

javascript實現(xiàn)二級聯(lián)動,比如連個下拉列表,一個選擇省份,另一個自動出現(xiàn)相應(yīng)城市

script language=vbScript

專業(yè)領(lǐng)域包括網(wǎng)站設(shè)計制作、網(wǎng)站設(shè)計、商城網(wǎng)站開發(fā)、微信營銷、系統(tǒng)平臺開發(fā), 與其他網(wǎng)站設(shè)計及系統(tǒng)開發(fā)公司不同,創(chuàng)新互聯(lián)的整合解決方案結(jié)合了幫做網(wǎng)絡(luò)品牌建設(shè)經(jīng)驗和互聯(lián)網(wǎng)整合營銷的理念,并將策略和執(zhí)行緊密結(jié)合,為客戶提供全網(wǎng)互聯(lián)網(wǎng)整合方案。

!--

public x(33)

x( 0 )="東城,西城,崇文,宣武,朝陽,豐臺,石景山,海淀,門頭溝,房山,通州,順義,昌平,大興,平谷,懷柔,密云,延慶"

x( 1 )="黃浦,盧灣,徐匯,長寧,靜安,普陀,閘北,虹口,楊浦,閔行,寶山,嘉定,浦東,金山,松江,青浦,南匯,奉賢,崇明"

x( 2 )="和平,東麗,河?xùn)|,西青,河西,津南,南開,北辰,河北,武清,紅撟,塘沽,漢沽,大港,寧河,靜海,寶坻,薊縣"

x( 3 )="萬州,涪陵,渝中,大渡口,江北,沙坪壩,九龍坡,南岸,北碚,萬盛,雙撟,渝北,巴南,黔江,長壽,綦江,潼南,銅梁,大足,榮昌,壁山,梁平,城口,豐都,墊江,武隆,忠縣,開縣,云陽,奉節(jié),巫山,巫溪,石柱,秀山,酉陽,彭水,江津,合川,永川,南川"

x( 4 )="石家莊,邯鄲,邢臺,保定,張家口,承德,廊坊,唐山,秦皇島,滄州,衡水"

x( 5 )="太原,大同,陽泉,長治,晉城,朔州,呂梁,忻州,晉中,臨汾,運城"

x( 6 )="呼和浩特,包頭,烏海,赤峰,呼倫貝爾盟,阿拉善盟,哲里木盟,興安盟,烏蘭察布盟,錫林郭勒盟,巴彥淖爾盟,伊克昭盟"

x( 7 )="沈陽,大連,鞍山,撫順,本溪,丹東,錦州,營口,阜新,遼陽,盤錦,鐵嶺,朝陽,葫蘆島"

x( 8 )="長春,吉林,四平,遼源,通化,白山,松原,白城,延邊"

x( 9 )="哈爾濱,齊齊哈爾,牡丹江,佳木斯,大慶,綏化,鶴崗,雞西,黑河,雙鴨山,伊春,七臺河,大興安嶺"

x( 10 )="南京,鎮(zhèn)江,蘇州,南通,揚州,鹽城,徐州,連云港,常州,無錫,宿遷,泰州,淮安"

x( 11 )="杭州,寧波,溫州,嘉興,湖州,紹興,金華,衢州,舟山,臺州,麗水"

x( 12 )="合肥,蕪湖,蚌埠,馬鞍山,淮北,銅陵,安慶,黃山,滁州,宿州,池州,淮南,巢湖,阜陽,六安,宣城,亳州"

x( 13 )="福州,廈門,莆田,三明,泉州,漳州,南平,龍巖,寧德"

x( 14 )="南昌市,景德鎮(zhèn),九江,鷹潭,萍鄉(xiāng),新馀,贛州,吉安,宜春,撫州,上饒"

x( 15 )="濟南,青島,淄博,棗莊,東營,煙臺,濰坊,濟寧,泰安,威海,日照,萊蕪,臨沂,德州,聊城,濱州,菏澤"

x( 16 )="鄭州,開封,洛陽,平頂山,安陽,鶴壁,新鄉(xiāng),焦作,濮陽,許昌,漯河,三門峽,南陽,商丘,信陽,周口,駐馬店,濟源"

x( 17 )="武漢,宜昌,荊州,襄樊,黃石,荊門,黃岡,十堰,恩施,潛江,天門,仙桃,隨州,咸寧,孝感,鄂州"

x( 18 )="長沙,常德,株洲,湘潭,衡陽,岳陽,邵陽,益陽,婁底,懷化,郴州,永州,湘西,張家界"

x( 19 )="廣州,深圳,珠海,汕頭,東莞,中山,佛山,韶關(guān),江門,湛江,茂名,肇慶,惠州,梅州,汕尾,河源,陽江,清遠,潮州,揭陽,云浮"

x( 20 )="南寧,柳州,桂林,梧州,北海,防城港,欽州,貴港,玉林,南寧地區(qū),柳州地區(qū),賀州,百色,河池"

x( 21 )="???三亞"

x( 22 )="成都,綿陽,德陽,自貢,攀枝花,廣元,內(nèi)江,樂山,南充,宜賓,廣安,達川,雅安,眉山,甘孜,涼山,瀘州"

x( 23 )="貴陽,六盤水,遵義,安順,銅仁,黔西南,畢節(jié),黔東南,黔南"

x( 24 )="昆明,大理,曲靖,玉溪,昭通,楚雄,紅河,文山,思茅,西雙版納,保山,德宏,麗江,怒江,迪慶,臨滄"

x( 25 )="拉薩,日喀則,山南,林芝,昌都,阿里,那曲"

x( 26 )="西安,寶雞,咸陽,銅川,渭南,延安,榆林,漢中,安康,商洛"

x( 27 )="蘭州,嘉峪關(guān),金昌,白銀,天水,酒泉,張掖,武威,定西,隴南,平?jīng)?慶陽,臨夏,甘南"

x( 28 )="銀川,石嘴山,吳忠,固原"

x( 29 )="西寧,海東,海南,海北,黃南,玉樹,果洛,海西"

x( 30 )="烏魯木齊,石河子,克拉瑪依,伊犁,巴音郭勒,昌吉,克孜勒蘇柯爾克孜,博 爾塔拉,吐魯番,哈密,喀什,和田,阿克蘇"

x( 31 )=""

x( 32 )=""

x( 33 )="臺北,高雄,臺中,臺南,屏東,南投,云林,新竹,彰化,苗栗,嘉義,花蓮,桃園,宜蘭,基隆,臺東,金門,馬祖,澎湖"

function test(a,b)

dim num,x1,i

num =a.selectedIndex

x1=split(x(num),",")

b.options.length=ubound(x1)+1

For i = 0 to ubound(x1)

b.options(i).text =x1(i)

b.options(i).value = x1(i)

next

end function

--

/script

body

select name="a" size=1 onChange="vbscript:test a,b"

option value= 0 北京/option

option value= 1 上海/option

option value= 2 天津/option

option value= 3 重慶/option

option value= 4 河北/option

option value= 5 山西/option

option value= 6 內(nèi)蒙古/option

option value= 7 遼寧/option

option value= 8 吉林/option

option value= 9 黑龍江/option

option value= 10 江蘇/option

option value= 11 浙江/option

option value= 12 安徽/option

option value= 13 福建/option

option value= 14 江西/option

option value= 15 山東/option

option value= 16 河南/option

option value= 17 湖北/option

option value= 18 湖南/option

option value= 19 廣東/option

option value= 20 廣西/option

option value= 21 海南/option

option value= 22 四川/option

option value= 23 貴州/option

option value= 24 云南/option

option value= 25 西藏/option

option value= 26 陜西/option

option value= 27 甘肅/option

option value= 28 寧夏/option

option value= 29 青海/option

option value= 30 新疆/option

option value= 31 香港/option

option value= 32 澳門/option

option value= 33 臺灣/option

/select

select name="b"

/select

拷貝到記事本.保存為.htm或.asp

高分求javascript高手解決jvectormap中國地圖問題,要求地圖顯示省份名稱,點擊省份可跳轉(zhuǎn)指定連接。

當(dāng)時遇到這個地圖也是花了一些功夫解決了點擊跳轉(zhuǎn)的需求,當(dāng)時是實現(xiàn)了效果,但沒有優(yōu)化,提供給你參考。

這個地圖插件依據(jù)瀏覽器不同,生成的地圖代碼不同,建議多測試一下。

在腳本最后注釋的那個 alert就是click事件,自行替換即可。

實際的參考網(wǎng)站在百度發(fā)不出來地址,需要可以私信我。

//數(shù)據(jù)可以動態(tài)生成,格式自己定義,cha對應(yīng)china-zh.js中省份的簡稱????

var?dataStatus?=?[{?cha:?'HKG',?name:?'香港',?des:?''?},????

{?cha:?'HAI',?name:?'海南',?des:?''?},????

{?cha:?'YUN',?name:?'云南',?des:?'br/'?},????

{?cha:?'BEJ',?name:?'北京',?des:?'br/'?},????

{?cha:?'TAJ',?name:?'天津',?des:?'br/'?},????

{?cha:?'XIN',?name:?'新疆',?des:?''?},????

{?cha:?'TIB',?name:?'西藏',?des:?''?},????

{?cha:?'QIH',?name:?'青海',?des:?''?},????

{?cha:?'GAN',?name:?'甘肅',?des:?'br/'?},????

{?cha:?'NMG',?name:?'內(nèi)蒙古',?des:?'br/'?},????

{?cha:?'NXA',?name:?'寧夏',?des:?'br/'?},????

{?cha:?'SHX',?name:?'山西',?des:?'br/'?},????

{?cha:?'LIA',?name:?'遼寧',?des:?'br/'?},????

{?cha:?'JIL',?name:?'吉林',?des:?'br/'?},????

{?cha:?'HLJ',?name:?'黑龍江',?des:?'br/'?},????

{?cha:?'HEB',?name:?'河北',?des:?'br/'?},????

{?cha:?'SHD',?name:?'山東',?des:?'br/'?},????

{?cha:?'HEN',?name:?'河南',?des:?'br/'?},????

{?cha:?'SHA',?name:?'陜西',?des:?''?},????

{?cha:?'SCH',?name:?'四川',?des:?'br/'?},????

{?cha:?'CHQ',?name:?'重慶',?des:?''?},????

{?cha:?'HUB',?name:?'湖北',?des:?'br/'?},????

{?cha:?'ANH',?name:?'安徽',?des:?'br/'?},????

{?cha:?'JSU',?name:?'江蘇',?des:?'br/'?},????

{?cha:?'SHH',?name:?'上海',?des:?''?},????

{?cha:?'ZHJ',?name:?'浙江',?des:?'br/'?},????

{?cha:?'FUJ',?name:?'福建',?des:?''?},????

{?cha:?'TAI',?name:?'臺灣',?des:?''?},????

{?cha:?'JXI',?name:?'江西',?des:?''?},????

{?cha:?'HUN',?name:?'湖南',?des:?''?},????

{?cha:?'GUI',?name:?'貴州',?des:?''?},????

{?cha:?'GXI',?name:?'廣西',?des:?'br/'?},????

{?cha:?'GUD',?name:?'廣東',?des:?'br/'}];????

$('#container').vectorMap({?map:?'china_zh',????

color:?"#95cee9",?//地圖顏色????

onLabelShow:?function?(event,?label,?code)?{//動態(tài)顯示內(nèi)容????

$.each(dataStatus,?function?(i,?items)?{????

if?(code?==?items.cha)?{????

label.html(items.name?+?items.des);????

}????

});????

}????

})????

var?hasNum?=?new?Array();????

$.each(dataStatus,?function?(i,?items)?{????

if?(items.des.indexOf('br')?!=?-1)?{//動態(tài)設(shè)定顏色,此處用了自定義簡單的判斷????

var?josnStr?=?"{"?+?items.cha?+?":'#1c84b7'}";????

hasNum.push(items.cha);????

$('#container').vectorMap('set',?'colors',?eval('('?+?josnStr?+?')'));????

}????

});????

$('.jvectormap-zoomin').click();?//放大????

$('#container').find("*[id*='jvectormap1']").each(function(){????

var?_this?=?$(this);????

var?_thisid?=?$(this).attr('id');????

for?(var?i=0;?ihasNum.length;?i++){????

if(_thisid.indexOf(hasNum[i])?!=?-1){????

_this.click(function(){????

//alert(_thisid)????

})????

}????

}????

})

學(xué)習(xí)了java,數(shù)據(jù)庫,html,css,javascript,javaweb,了解了一下三大框架,在重慶能找到什么樣的工作?

先去做個實習(xí)吧 然后等你提高了再跳槽

你現(xiàn)在會的這點根本就不算什么,你需要學(xué)什么 等你去了公司你就都知道了

先去找個工作 想其他的沒什么用

用JS實現(xiàn)省市下拉框怎么做?

試試這個:

script language="JavaScript"

!--

var g_selProvince;

var g_selCity;

var Provinces=new Array(

new Array("110000","北京市"),

new Array("120000","天津市"),

new Array("130000","河北省"),

new Array("140000","山西省"),

new Array("150000","內(nèi)蒙古自治區(qū)"),

new Array("210000","遼寧省"),

new Array("220000","吉林省"),

new Array("230000","黑龍江省"),

new Array("310000","上海市"),

new Array("320000","江蘇省"),

new Array("330000","浙江省"),

new Array("340000","安徽省"),

new Array("350000","福建省"),

new Array("360000","江西省"),

new Array("370000","山東省"),

new Array("410000","河南省"),

new Array("420000","湖北省"),

new Array("430000","湖南省"),

new Array("440000","廣東省"),

new Array("450000","廣西壯族自治區(qū)"),

new Array("460000","海南省"),

new Array("500000","重慶市"),

new Array("510000","四川省"),

new Array("520000","貴州省"),

new Array("530000","云南省"),

new Array("540000","西藏自治區(qū)"),

new Array("610000","陜西省"),

new Array("620000","甘肅省"),

new Array("630000","青海省"),

new Array("640000","寧夏回族自治區(qū)"),

new Array("650000","新疆維吾爾自治區(qū)"),

new Array("710000","臺灣省"),

new Array("810000","香港特別行政區(qū)"),

new Array("820000","澳門特別行政區(qū)")

);

var Citys=new Array(

new Array("110100","北京"),

new Array("120100","天津"),

new Array("130101","石家莊"),

new Array("130201","唐山"),

new Array("130301","秦皇島"),

new Array("130701","張家口"),

new Array("130801","承德"),

new Array("131001","廊坊"),

new Array("130401","邯鄲"),

new Array("130501","邢臺"),

new Array("130601","保定"),

new Array("130901","滄州"),

new Array("133001","衡水"),

new Array("140101","太原"),

new Array("140201","大同"),

new Array("140301","陽泉"),

new Array("140501","晉城"),

new Array("140601","朔州"),

new Array("142201","忻州"),

new Array("142331","離石"),

new Array("142401","榆次"),

new Array("142601","臨汾"),

new Array("142701","運城"),

new Array("140401","長治"),

new Array("150101","呼和浩特"),

new Array("150201","包頭"),

new Array("150301","烏海"),

new Array("152601","集寧"),

new Array("152701","東勝"),

new Array("152801","臨河"),

new Array("152921","阿拉善左旗"),

new Array("150401","赤峰"),

new Array("152301","通遼"),

new Array("152502","錫林浩特"),

new Array("152101","海拉爾"),

new Array("152201","烏蘭浩特"),

new Array("210101","沈陽"),

new Array("210201","大連"),

new Array("210301","鞍山"),

new Array("210401","撫順"),

new Array("210501","本溪"),

new Array("210701","錦州"),

new Array("210801","營口"),

new Array("210901","阜新"),

new Array("211101","盤錦"),

new Array("211201","鐵嶺"),

new Array("211301","朝陽"),

new Array("211401","錦西"),

new Array("210601","丹東"),

new Array("220101","長春"),

new Array("220201","吉林"),

new Array("220301","四平"),

new Array("220401","遼源"),

new Array("220601","渾江"),

new Array("222301","白城"),

new Array("222401","延吉"),

new Array("220501","通化"),

new Array("230101","哈爾濱"),

new Array("230301","雞西"),

new Array("230401","鶴崗"),

new Array("230501","雙鴨山"),

new Array("230701","伊春"),

new Array("230801","佳木斯"),

new Array("230901","七臺河"),

new Array("231001","牡丹江"),

new Array("232301","綏化"),

new Array("230201","齊齊哈爾"),

new Array("230601","大慶"),

new Array("232601","黑河"),

new Array("232700","加格達奇"),

new Array("310100","上海"),

new Array("320101","南京"),

new Array("320201","無錫"),

new Array("320301","徐州"),

new Array("320401","常州"),

new Array("320501","蘇州"),

new Array("320600","南通"),

new Array("320701","連云港"),

new Array("320801","淮陰"),

new Array("320901","鹽城"),

new Array("321001","揚州"),

new Array("321101","鎮(zhèn)江"),

new Array("330101","杭州"),

new Array("330201","寧波"),

new Array("330301","溫州"),

new Array("330401","嘉興"),

new Array("330501","湖州"),

new Array("330601","紹興"),

new Array("330701","金華"),

new Array("330801","衢州"),

new Array("330901","舟山"),

new Array("332501","麗水"),

new Array("332602","臨海"),

new Array("340101","合肥"),

new Array("340201","蕪湖"),

new Array("340301","蚌埠"),

new Array("340401","淮南"),

new Array("340501","馬鞍山"),

new Array("340601","淮北"),

new Array("340701","銅陵"),

new Array("340801","安慶"),

new Array("341001","黃山"),

new Array("342101","阜陽"),

new Array("342201","宿州"),

new Array("342301","滁州"),

new Array("342401","六安"),

new Array("342501","宣州"),

new Array("342601","巢湖"),

new Array("342901","貴池"),

new Array("350101","福州"),

new Array("350201","廈門"),

new Array("350301","莆田"),

new Array("350401","三明"),

new Array("350501","泉州"),

new Array("350601","漳州"),

new Array("352101","南平"),

new Array("352201","寧德"),

new Array("352601","龍巖"),

new Array("360101","南昌"),

new Array("360201","景德鎮(zhèn)"),

new Array("362101","贛州"),

new Array("360301","萍鄉(xiāng)"),

new Array("360401","九江"),

new Array("360501","新余"),

new Array("360601","鷹潭"),

new Array("362201","宜春"),

new Array("362301","上饒"),

new Array("362401","吉安"),

new Array("362502","臨川"),

new Array("370101","濟南"),

new Array("370201","青島"),

new Array("370301","淄博"),

new Array("370401","棗莊"),

new Array("370501","東營"),

new Array("370601","煙臺"),

new Array("370701","濰坊"),

new Array("370801","濟寧"),

new Array("370901","泰安"),

new Array("371001","威海"),

new Array("371100","日照"),

new Array("372301","濱州"),

new Array("372401","德州"),

new Array("372501","聊城"),

new Array("372801","臨沂"),

new Array("372901","菏澤"),

new Array("410101","鄭州"),

new Array("410201","開封"),

new Array("410301","洛陽"),

new Array("410401","平頂山"),

new Array("410501","安陽"),

new Array("410601","鶴壁"),

new Array("410701","新鄉(xiāng)"),

new Array("410801","焦作"),

new Array("410901","濮陽"),

new Array("411001","許昌"),

new Array("411101","漯河"),

new Array("411201","三門峽"),

new Array("412301","商丘"),

new Array("412701","周口"),

new Array("412801","駐馬店"),

new Array("412901","南陽"),

new Array("413001","信陽"),

new Array("420101","武漢"),

new Array("420201","黃石"),

new Array("420301","十堰"),

new Array("420400","沙市"),

new Array("420501","宜昌"),

new Array("420601","襄樊"),

new Array("420701","鄂州"),

new Array("420801","荊門"),

new Array("422103","黃州"),

new Array("422201","孝感"),

new Array("422301","咸寧"),

new Array("422421","江陵"),

new Array("422801","恩施"),

new Array("430101","長沙"),

new Array("430401","衡陽"),

new Array("430501","邵陽"),

new Array("432801","郴州"),

new Array("432901","永州"),

new Array("430801","大庸"),

new Array("433001","懷化"),

new Array("433101","吉首"),

new Array("430201","株洲"),

new Array("430301","湘潭"),

new Array("430601","岳陽"),

new Array("430701","常德"),

new Array("432301","益陽"),

new Array("432501","婁底"),

new Array("440101","廣州"),

new Array("440301","深圳"),

new Array("441501","汕尾"),

new Array("441301","惠州"),

new Array("441601","河源"),

new Array("440601","佛山"),

new Array("441801","清遠"),

new Array("441901","東莞"),

new Array("440401","珠海"),

new Array("440701","江門"),

new Array("441201","肇慶"),

new Array("442001","中山"),

new Array("440801","湛江"),

new Array("440901","茂名"),

new Array("440201","韶關(guān)"),

new Array("440501","汕頭"),

new Array("441401","梅州"),

new Array("441701","陽江"),

new Array("450101","南寧"),

new Array("450401","梧州"),

new Array("452501","玉林"),

new Array("450301","桂林"),

new Array("452601","百色"),

new Array("452701","河池"),

new Array("452802","欽州"),

new Array("450201","柳州"),

new Array("450501","北海"),

new Array("460100","海口"),

new Array("460200","三亞"),

new Array("510101","成都"),

new Array("513321","康定"),

new Array("513101","雅安"),

new Array("513229","馬爾康"),

new Array("510301","自貢"),

new Array("500100","重慶"),

new Array("512901","南充"),

new Array("510501","瀘州"),

new Array("510601","德陽"),

new Array("510701","綿陽"),

new Array("510901","遂寧"),

new Array("511001","內(nèi)江"),

new Array("511101","樂山"),

new Array("512501","宜賓"),

new Array("510801","廣元"),

new Array("513021","達縣"),

new Array("513401","西昌"),

new Array("510401","攀枝花"),

new Array("500239","黔江土家族苗族自治縣"),

new Array("520101","貴陽"),

new Array("520200","六盤水"),

new Array("522201","銅仁"),

new Array("522501","安順"),

new Array("522601","凱里"),

new Array("522701","都勻"),

new Array("522301","興義"),

new Array("522421","畢節(jié)"),

new Array("522101","遵義"),

new Array("530101","昆明"),

new Array("530201","東川"),

new Array("532201","曲靖"),

new Array("532301","楚雄"),

new Array("532401","玉溪"),

new Array("532501","個舊"),

new Array("532621","文山"),

new Array("532721","思茅"),

new Array("532101","昭通"),

new Array("532821","景洪"),

new Array("532901","大理"),

new Array("533001","保山"),

new Array("533121","潞西"),

new Array("533221","麗江納西族自治縣"),

new Array("533321","瀘水"),

new Array("533421","中甸"),

new Array("533521","臨滄"),

new Array("540101","拉薩"),

new Array("542121","昌都"),

new Array("542221","乃東"),

new Array("542301","日喀則"),

new Array("542421","那曲"),

new Array("542523","噶爾"),

new Array("542621","林芝"),

new Array("610101","西安"),

new Array("610201","銅川"),

new Array("610301","寶雞"),

new Array("610401","咸陽"),

new Array("612101","渭南"),

new Array("612301","漢中"),

new Array("612401","安康"),

new Array("612501","商州"),

new Array("612601","延安"),

new Array("612701","榆林"),

new Array("620101","蘭州"),

new Array("620401","白銀"),

new Array("620301","金昌"),

new Array("620501","天水"),

new Array("622201","張掖"),

new Array("622301","武威"),

new Array("622421","定西"),

new Array("622624","成縣"),

new Array("622701","平?jīng)?),

new Array("622801","西峰"),

new Array("622901","臨夏"),

new Array("623027","夏河"),

new Array("620201","嘉峪關(guān)"),

new Array("622102","酒泉"),

new Array("630100","西寧"),

new Array("632121","平安"),

new Array("632221","門源回族自治縣"),

new Array("632321","同仁"),

new Array("632521","共和"),

new Array("632621","瑪沁"),

new Array("632721","玉樹"),

new Array("632802","德令哈"),

new Array("640101","銀川"),

new Array("640201","石嘴山"),

new Array("642101","吳忠"),

new Array("642221","固原"),

new Array("650101","烏魯木齊"),

new Array("650201","克拉瑪依"),

new Array("652101","吐魯番"),

new Array("652201","哈密"),

new Array("652301","昌吉"),

new Array("652701","博樂"),

new Array("652801","庫爾勒"),

new Array("652901","阿克蘇"),

new Array("653001","阿圖什"),

new Array("653101","喀什"),

new Array("654101","伊寧"),

new Array("710001","臺北"),

new Array("710002","基隆"),

new Array("710020","臺南"),

new Array("710019","高雄"),

new Array("710008","臺中"),

new Array("211001","遼陽"),

new Array("653201","和田"),

new Array("542200","澤當(dāng)鎮(zhèn)"),

new Array("542600","八一鎮(zhèn)"),

new Array("820000","澳門"),

new Array("810000","香港")

);

function FillProvinces(selProvince)

{

selProvince.options[0]=new Option("請選擇","000000");

for(i=0;iProvinces.length;i++)

{

selProvince.options[i+1]=new Option(Provinces[i][1],Provinces[i][0]);

}

selProvince.options[0].selected=true;

selProvince.length=i+1;

}

function FillCitys(selCity,ProvinceCode)

{

//if the province is a direct-managed city, like Beijing, shanghai, tianjin, chongqin,hongkong, macro

//need not "請選擇選項"

if(ProvinceCode=="110000"||ProvinceCode=="120000"||ProvinceCode=="310000"

||ProvinceCode=="810000"||ProvinceCode=="820000"||ProvinceCode=="500000")

count=0;

else

{selCity.options[0]=new Option("請選擇",ProvinceCode);

count=1;}

for(i=0;iCitys.length;i++)

{

if(Citys[i][0].toString().substring(0,2)==ProvinceCode.substring(0,2))

{

selCity.options[count]=new Option(Citys[i][1],Citys[i][0]);

count=count+1;

}

}

selCity.options[0].selected=true;

selCity.length=count;

}

function Province_onchange()

{

FillCitys(g_selCity,g_selProvince.value);

}

function InitCitySelect(selProvince,selCity)

{

//alert("begin");

g_selProvince=selProvince;

g_selCity=selCity;

selProvince.onchange=Function("Province_onchange();");

FillProvinces(selProvince);

Province_onchange();

}

function InitCitySelect2(selProvince,selCity,CityCode)

{

InitCitySelect(selProvince,selCity)

for(i=0;iselProvince.length;i++)

{

if(selProvince.options[i].value.substring(0,2)==CityCode.substring(0,2))

{

selProvince.options[i].selected=true;

}

}

Province_onchange();

for(i=0;iselCity.length;i++)

{

if(selCity.options[i].value==CityCode)

{

selCity.options[i].selected=true;

}

}

}

//--

/script

form name="profile" method="post" action="where.asp"

SELECT id=province size=1 name=province

OPTION selected/OPTION

/SELECT

SELECT id=city size=1 name=city

OPTION selected/OPTION

/SELECT

SCRIPT language=javascript

InitCitySelect(document.profile.province,document.profile.city);

/SCRIPT

input type="submit"

/form

如你要提取市的數(shù)據(jù),你需要在接受請求頁面寫如下代碼:

shi=trim(request.form("city"))

就可以得到市的值了。

還有這是用Form傳遞參數(shù),而不是用QueryString傳遞。

重慶前端好找工作嗎

首先,當(dāng)前重慶互聯(lián)網(wǎng)發(fā)展正在勢頭上,從企業(yè)的招聘需求看前端開發(fā)的需求量依然較高,因此在重慶不愁找不到一份前端的工作。

一、在重慶找前端工作的方法:

如果你是一個前端小菜鳥,找一份心儀前端工作有些困難,但并不代表你就會找不到工作?此處全是干貨,有用記得點贊收藏!

1、部分優(yōu)質(zhì)企業(yè)在招聘時會對外招聘初級前端人才,因為工作上有些簡單或者不可替代的事物需要初級前端來處理,為中高級前端騰出時間和精力來做更重要的事情,才不會給企業(yè)造成資源的浪費。

2、報班學(xué)習(xí)。相較于自學(xué)來說,可能存在效率低下,容易走向誤區(qū)等問題,如果有一定的經(jīng)濟條件可選擇報班突擊,提升自己的前端開發(fā)水平。

3、少談薪資先入行,選擇前端實習(xí)工作。先入行可從實習(xí)工作做起,在企業(yè)職位上能夠觸碰到行業(yè)或者企業(yè)給予的相關(guān)前端開發(fā)需求,增添自己的實戰(zhàn)經(jīng)驗。有時候?qū)W習(xí)也并不是要在課本上,同時還可以向周圍的前端同事請教,也是快速提高自己能力的途徑之一。

4、主動在崗位中學(xué)習(xí),承擔(dān)更多工作。積極融入到團隊當(dāng)中,多承擔(dān)一部分工作,不斷的在工作熟能生巧,攻克自己的薄弱環(huán)節(jié),同時虛心向同事請教,相信勤奮的你能夠收獲事半功倍的效果。

二、重慶前端的薪酬如何?有哪些要求?

1、從經(jīng)驗的角度看:

經(jīng)驗在3年以下的前端人才,企業(yè)給出的薪酬主要集中在5—10k左右;

2、從招聘量的角度看:

相較于初級前端,大部分的企業(yè)愿意給8—15k的薪酬給3—5年經(jīng)驗的中高級前端乃至前端架構(gòu)師。因此,雖然工作機會較多,但留給初級前端的機會偏少。

3、從學(xué)歷方面看:

大部分的企業(yè)比較青睞大專及本科以上學(xué)歷的前端人才,畢竟前端職位需要一定的技術(shù)和知識,因此學(xué)歷是該職位的敲門磚。

三、初級開發(fā)怎么才能成長為一名高級前端?

對于初級前端來說,除了熬年限、熬經(jīng)驗,實力才是最為重要的。

高水平的開發(fā)也是從初級水平成長起來的,你也是可以成長為一名高級前端開發(fā)的。前端的知識體系龐雜,框架、庫、插件數(shù)不勝數(shù),API迭代飛速,怎么才能在如此混亂的局面中抓住正確的道路?下面介紹3點關(guān)鍵點:

01 夯實基礎(chǔ)

無論是做什么樣的專業(yè)技術(shù)工作,專業(yè)基礎(chǔ)都是十分重要的?;A(chǔ)不牢固,上層建筑建的再華麗,都是岌岌可危的。

前端的基礎(chǔ)是什么?是HTML、CSS,JavaScript。特別是JavaScript,我們對前端基礎(chǔ)的掌握程度,極大程度上體現(xiàn)在對JavaScript的掌握程度上。所有的瀏覽器引擎運行的腳本語言都是JavaScript,我們使用的框架也是用JavaScript開發(fā)的。即使最近非常流行的typescript,其實底層也是JavaScript,是需要編譯為JavaScript后才能在瀏覽器運行的。

即使是高級前端工程師的面試中,對于JavaScript知識的考核也是必不可少的。不僅體現(xiàn)在JavaScript語法,API,也很大一部分包含著最新的ES6的知識。

02 洞悉原理

我們需要知道的原理不僅體現(xiàn)在框架的原理上,也體現(xiàn)在JavaScript語言和瀏覽器引擎的原理上。高級前端工程師對于框架和語言的理解絕不會停留于了解API的層面上,需要深入到了解內(nèi)部原理和運行機制的層面上。

JavaScript引擎運行各種數(shù)據(jù)類型的方法的操作細(xì)節(jié),各個JavaScript runtime在運行JavaScript的差異細(xì)節(jié),各個框架的設(shè)計原理,使用的設(shè)計模式,核心算法,比如拼接字符串時+方法和join方法,在不同瀏覽器因為引擎操作不同而有著截然不同的性能差異;又比如Vue響應(yīng)式的原理,Virtual DOM生成真實DOM和Diff的算法,運用到的發(fā)布訂閱設(shè)計模式,自定義指令,插件掛載等等,即便不懂這些,寫起業(yè)務(wù)邏輯來完全不耽誤,但是不懂這些在前端市場上完全沒有競爭力。

能完全弄懂這些原理的人的確相對很少,但是會寫JavaScript、會用Vue之類框架的人卻很多,此時如果企業(yè)看到你是了解原理的高級開發(fā)者,你的競爭力必然是陡然上升。另一方面高級前端作為初級前端的引領(lǐng)者,要能夠幫助初級前端工程師解決棘手的問題。如果不懂得原理,如何能夠快速的定位和解決問題,如何履行高級前端的職責(zé)?如何能夠?qū)τ诓粩嘧兓目蚣蹵PI迅速地理解和深入運用?

03 主動學(xué)習(xí)

一名優(yōu)秀的程序員絕對不是一個被別人牽著鼻子或者被人用鞭子趕著才會去學(xué)習(xí)的人,他一定是一個主動學(xué)習(xí)的人。

優(yōu)秀的程序員之所以優(yōu)秀,是因為他有深厚的知識積累,而這些知識的來源,是因為他在不斷地學(xué)習(xí)。所以才能夠在工作中解決棘手的問題,在面試中回答出刁鉆的難題,因此而獲得豐厚的薪水。一個被動學(xué)習(xí)的人,我想是很難達到這種地步的。

作為前端要主動學(xué)習(xí),方向必須是能夠具有針對性的提升自身競爭力的內(nèi)容,而且是輕易不會過時的穩(wěn)定的知識。比如就像語言內(nèi)部機制和框架原理,設(shè)計模式這種知識。學(xué)了這種知識,其實就有能力自己做一些簡單的框架,工具和庫了,心中有底氣,就可以擺脫被不斷更新的應(yīng)用型,API型知識牽著鼻子走的局面。

前端依然是一個很有前途的職業(yè),如果目前還只是一名初級前端的話,一定還要努力盡快成為一名高級前端開發(fā)者。在夯實基礎(chǔ)的前提下,向縱深出挖掘,在做好工作的同時,利用平時點滴零碎時間,追根朔源式的學(xué)習(xí),不斷積累前端知識。同時也建議多看些前端最新新聞,前端前沿技術(shù)之類的文章,多嘗試最新的技術(shù)功能更新,緊跟技術(shù)發(fā)展,才能不被飛速發(fā)展的前端圈落下。

更多關(guān)于重慶前端職位的回答,歡迎百度搜索匯博招聘~

誰知道國家選省份的javascript腳本,給個例子地址也可以。謝謝大家了!

這個是我國的各省的城市選擇網(wǎng)頁,你可以按自己的要求進行一些改動.

html

head

meta http-equiv="Content-Type" content="text/html; charset=UTF-8"

title省份選城市/title

style type="text/css"

!--

form{margin:0;padding:0;}

img{border:0;}

body,select,input,td{ font-family:宋體,Arial; font-size: 12px; font-family: Arial; margin-top: 2px;}

#hd{clear:both;width:700px;margin:0 auto;margin-bottom:.5em;padding:.5em 0 0 0;}

.rlcon a{text-decoration:none;margin-left:.3em;}

.mcon,.lpanel,.panel{text-align:left;}

.lg{float:left;width:185px;padding:.5em 0;}

.rl{float:right;width:100%;margin:0 0 0 -30em;}

.rlcon{text-align:right;height:32px;margin:0 0 0 190px;color:#b8b8b8;border-bottom:1px solid #b5b5b5;overflow:hidden;line-height:45px;}

#lcon{float:left;width:180px;}

#mcon{float:right;width:100%;margin:0 0 0 -20em;}

.mcon{margin:0 0 0 190px;width:570px;}

.xb{border-top:1px solid transparent !important;border-top:0;clear:both;}

#footer {margin:0 auto;width:740px;text-align:center;font-size:12px;height:30px;line-height:30px;border-top:1px solid #666;}

table{clear:both;text-align:left;}

#tip{clear:both;margin:0 auto;width:500px;background-color:#ffffe1;border:1px solid #ACA899;padding:1em;margin:1em;text-align:left;color:#ff0000;}

#tip #cancel{float:right;}

#tip ul{display:block;margin:0;padding:0;list-style-type:none;}

#tip ul li{float:left;width:220px;line-height:1.5em;background-color:#ffffe1;}

#hidenbox{border-top:1px solid transparent !important;border-top:0;clear:both;}

.bnt14{font-size:13px;font-family:宋體,Arial;line-height:18px;height:25px;}

--

/style

/head

html

body

center

form name="personalorder" action="preferences" method="POST"

div id="hd"

TABLE height=20 cellSpacing=0 cellPadding=0 width=714 align=center

border=0

TBODY

TR

TD height="60" vAlign=center DIV class=s5 align=center選擇省市:

select name="prov" onchange="setInd(this)"

option value=0不預(yù)定/optionoption value=8610北京/optionoption value=8621上海/optionoption value=8622天津/optionoption value=8623重慶/optionoption value=86311河北/optionoption value=8625江蘇/optionoption value=86571浙江/optionoption value=8620廣東/optionoption value=86351山西/optionoption value=8624遼寧/optionoption value=86431吉林/optionoption value=86451黑龍江/optionoption value=86551安徽/optionoption value=86591福建/optionoption value=86791江西/optionoption value=86531山東/optionoption value=86371河南/optionoption value=8627湖北/optionoption value=86731 selected湖南/optionoption value=8628四川/optionoption value=86851貴州/optionoption value=86871云南/optionoption value=8629陜西/optionoption value=86931甘肅/optionoption value=86971青海/optionoption value=86471內(nèi)蒙古/optionoption value=86771廣西/optionoption value=86898海南/optionoption value=86891西藏/optionoption value=86951寧夏/optionoption value=86991新疆/optionoption value=88610臺灣/optionoption value=85210香港/optionoption value=85310澳門/option/SELECT

選擇城市:

SELECT name=locid

OPTION value=86731731長沙/OPTIONOPTION value=86731730岳陽/OPTIONOPTION value=86731732湘潭/OPTIONOPTION value=86731733株洲/OPTIONOPTION value=86731734衡陽/OPTIONOPTION value=86731735郴州/OPTIONOPTION value=86731736常德/OPTIONOPTION value=86731737益陽/OPTIONOPTION value=86731738婁底/OPTIONOPTION value=86731739邵陽/OPTIONOPTION value=86731743 selected吉首/OPTIONOPTION value=86731745懷化/OPTIONOPTION value=86731746永州/OPTION

/SELECT

/DIV

script

function cls_inpt(){

var _inpt=document.getElementsByTagName("input");

for(var i=0;i_inpt.length;i++){

if(_inpt[i].name.indexOf('stockid')=0 ||_inpt[i].name.indexOf('showname')=0 ||_inpt[i].name.indexOf('stockname')=0){

_inpt[i].value='';

}

}

return false;

}

cityarray0 = new Array(

"0;不預(yù)定");

cityarray8610 = new Array(

"861010;北京");

cityarray8621 = new Array(

"862121;上海");

cityarray8622 = new Array(

"862222;天津");

cityarray8623 = new Array(

"862323;重慶",

"86232314;萬州",

"8623810;涪陵");

cityarray86311 = new Array(

"86311311;石家莊",

"86311310;邯鄲",

"86311312;保定",

"86311313;張家口",

"86311314;承德",

"86311315;唐山",

"86311316;廊坊",

"86311317;滄州",

"86311318;衡水",

"86311319;邢臺",

"86311335;秦皇島");

cityarray8625 = new Array(

"862525;南京",

"8625510;無錫",

"8625511;鎮(zhèn)江",

"8625512;蘇州",

"8625513;南通",

"8625514;揚州",

"8625515;鹽城",

"8625516;徐州",

"8625517;淮安",

"862551701;淮陰",

"8625518;連云港",

"8625519;常州",

"8625523;泰州",

"8625527;宿遷");

cityarray86571 = new Array(

"86571571;杭州",

"86571570;衢州",

"86571572;湖州",

"86571573;嘉興",

"86571574;寧波",

"86571575;紹興",

"86571576;臺州",

"86571577;溫州",

"86571578;麗水",

"86571579;金華",

"86571580;舟山");

cityarray8620 = new Array(

"862020;廣州",

"8620660;汕尾",

"8620662;陽江",

"8620663;揭陽",

"8620668;茂名",

"8620750;江門",

"8620751;韶關(guān)",

"8620752;惠州",

"8620753;梅州",

"8620754;汕頭",

"8620755;深圳",

"8620756;珠海",

"8620757;佛山",

"8620758;肇慶",

"8620759;湛江",

"8620760;中山",

"8620762;河源",

"8620763;清遠",

"8620766;云浮",

"8620768;潮州",

"8620769;東莞");

cityarray86351 = new Array(

"86351351;太原",

"86351349;朔州",

"86351350;忻州",

"86351352;大同",

"86351353;陽泉",

"86351354;榆次",

"86351355;長治",

"86351356;晉城",

"86351357;臨汾",

"86351358;呂梁",

"86351359;運城");

cityarray8624 = new Array(

"862424;沈陽",

"8624410;鐵嶺",

"8624411;大連",

"8624412;鞍山",

"8624413;撫順",

"8624414;本溪",

"8624415;丹東",

"8624416;錦州",

"8624417;營口",

"8624418;阜新",

"1378819;遼陽",

"8624421;朝陽",

"8624427;盤錦",

"8624429;葫蘆島");

cityarray86431 = new Array(

"86431431;長春",

"86431432;吉林",

"86431434;四平",

"86431435;通化",

"86431436;白城",

"86431437;遼源",

"86431438;松原",

"86431439;白山");

cityarray86451 = new Array(

"86451451;哈爾濱",

"86451452;齊齊哈爾",

"86451453;牡丹江",

"86451454;佳木斯",

"86451455;綏化",

"86451456;黑河",

"86451458;伊春",

"86451459;大慶",

"86451464;七臺河",

"86451467;雞西",

"86451468;鶴崗",

"86451469;雙鴨山",

"86451470;大興安嶺");

cityarray86551 = new Array(

"86551551;合肥",

"86551550;滁州",

"86551552;蚌埠",

"86551553;蕪湖",

"86551554;淮南",

"86551555;馬鞍山",

"86551556;安慶",

"86551557;宿州",

"86551558;阜陽",

"8655155801;亳州",

"86551559;黃山",

"86551561;淮北",

"86551562;銅陵",

"86551563;宣城",

"86551564;六安",

"86551565;巢湖",

"86551566;池州");

cityarray86591 = new Array(

"86591591;福州",

"86591592;廈門",

"86591593;寧德",

"86591594;莆田",

"86591595;泉州",

"86591596;漳州",

"86591597;龍巖",

"86591598;三明",

"86591599;南平");

cityarray86791 = new Array(

"86791791;南昌",

"86791701;鷹潭",

"86791790;新余",

"86791792;九江",

"86791793;上饒",

"86791794;撫州",

"86791795;宜春",

"86791796;吉安",

"86791797;贛州",

"86791798;景德鎮(zhèn)",

"86791799;萍鄉(xiāng)");

cityarray86531 = new Array(

"86531531;濟南",

"86531530;菏澤",

"86531532;青島",

"86531533;淄博",

"86531534;德州",

"86531535;煙臺",

"86531536;濰坊",

"86531537;濟寧",

"86531539;臨沂",

"86531543;濱州",

"86531546;東營",

"86531631;威海",

"86531632;棗莊",

"86531633;日照",

"86531634;萊蕪",

"86531635;聊城");

cityarray86371 = new Array(

"86371371;鄭州",

"86371370;商丘",

"86371372;安陽",

"86371373;新鄉(xiāng)",

"86371374;許昌",

"86371375;平頂山",

"86371376;信陽",

"86371377;南陽",

"86371378;開封",

"86371379;洛陽",

"86371391;焦作",

"86371392;鶴壁",

"86371393;濮陽",

"86371394;周口",

"86371395;漯河",

"86371396;駐馬店",

"86371398;三門峽");

cityarray8627 = new Array(

"862727;武漢",

"8627710;襄樊",

"8627711;鄂州",

"8627712;孝感",

"8627713;黃岡",

"8627714;黃石",

"8627715;咸寧",

"8627716;荊州",

"8627717;宜昌",

"8627718;恩施",

"8627719;十堰",

"8627722;隨州",

"8627724;荊門");

cityarray86731 = new Array(

"86731731;長沙",

"86731730;岳陽",

"86731732;湘潭",

"86731733;株洲",

"86731734;衡陽",

"86731735;郴州",

"86731736;常德",

"86731737;益陽",

"86731738;婁底",

"86731739;邵陽",

"86731743;吉首",

"86731745;懷化",

"86731746;永州");

cityarray8628 = new Array(

"862828;成都",

"8628812;攀枝花",

"8628813;自貢",

"8628816;綿陽",

"8628817;南充",

"8628818;達州",

"8628825;遂寧",

"8628826;廣安",

"8628827;巴中",

"8628830;瀘州",

"8628831;宜賓",

"8628832;資陽",

"862883201;內(nèi)江",

"8628833;樂山",

"862883301;眉山",

"862883401;涼山",

"8628835;雅安",

"862883701;阿壩",

"8628838;德陽",

"8628839;廣元");

cityarray86851 = new Array(

"86851851;貴陽",

"86851852;遵義",

"86851853;安順",

"86851854;都勻",

"86851855;凱里",

"86851856;銅仁",

"86851857;畢節(jié)",

"86851858;六盤水",

"86851859;興義");

cityarray86871 = new Array(

"86871871;昆明",

"86871691;西雙版納",

"86871692;德宏",

"86871870;昭通",

"86871872;大理",

"8687187303;紅河",

"86871874;曲靖",

"86871875;保山",

"86871876;文山",

"86871877;玉溪",

"86871878;楚雄",

"86871879;思茅",

"86871883;臨滄",

"8687188601;怒江",

"8687188701;迪慶",

"86871888;麗江");

cityarray8629 = new Array(

"862929;西安",

"8629910;咸陽",

"8629911;延安",

"8629912;榆林",

"8629913;渭南",

"8629914;商洛",

"8629915;安康",

"8629916;漢中",

"8629917;寶雞",

"8629919;銅川");

cityarray86931 = new Array(

"86931931;蘭州",

"86931930;臨夏",

"86931932;定西",

"86931933;平?jīng)?,

"86931934;慶陽",

"86931935;金昌",

"8693193501;武威",

"86931936;張掖",

"86931937;酒泉",

"8693193701;嘉峪關(guān)",

"86931938;天水",

"86931939;隴南",

"86931941;甘南",

"86931943;白銀");

cityarray86971 = new Array(

"86971971;西寧",

"8697197001;海北",

"86971972;海東",

"8697197501;果洛",

"8697197301;黃南",

"86971976;玉樹",

"86971979;格爾木",

"8697197901;海西");

cityarray86471 = new Array(

"86471471;呼和浩特",

"86471470;海拉爾",

"86471472;包頭",

"86471473;烏海",

"86471474;集寧",

"86471475;通遼",

"86471476;赤峰",

"86471478;臨河",

"86471479;錫林浩特",

"86471482;烏蘭浩特",

"86471483;巴彥浩特",

"86471484;鄂爾多斯");

cityarray86771 = new Array(

"86771771;南寧",

"86771770;防城港",

"8677177101;崇左",

"86771772;柳州",

"8677177201;來賓",

"86771773;桂林",

"86771774;梧州",

"8677177401;賀州",

"86771775;玉林",

"8677177501;貴港",

"86771776,;百色",

"86771777,;欽州",

"86771778,;河池",

"86771779,;北海");

cityarray86898 = new Array(

"86898898;???,

"86898899;三亞",

"8689889901;西沙群島");

cityarray86891 = new Array(

"86891891;拉薩",

"86891892;日喀則",

"86891893;山南",

"86891894;林芝",

"86891895;昌都",

"86891896;那曲",

"86891897;阿里");

cityarray86951 = new Array(

"86951951;銀川",

"86951952;石嘴山",

"86951953;吳忠",

"86951954;固原");

cityarray86991 = new Array(

"86991991;烏魯木齊",

"86991901;塔城",

"86991902;哈密",

"86991903;和田",

"86991906;阿勒泰",

"8699190801;克州",

"86991909;博樂",

"86991990;克拉瑪依",

"86991993;石河子",

"86991994;昌吉",

"86991995;吐魯番",

"86991996;庫爾勒",

"86991997;阿克蘇",

"86991998;喀什",

"86991999;伊犁");

cityarray88610 = new Array(

"8861010;臺北");

cityarray85210 = new Array(

"8521010;香港");

cityarray85310 = new Array(

"8531010;澳門");

function getCitiesFromProvinceID(provinceid) {

if (provinceid == 0) return cityarray0;

if (provinceid == 8610) return cityarray8610;

if (provinceid == 8621) return cityarray8621;

if (provinceid == 8622) return cityarray8622;

if (provinceid == 8623) return cityarray8623;

if (provinceid == 86311) return cityarray86311;

if (provinceid == 8625) return cityarray8625;

if (provinceid == 86571) return cityarray86571;

if (provinceid == 8620) return cityarray8620;

if (provinceid == 86351) return cityarray86351;

if (provinceid == 8624) return cityarray8624;

if (provinceid == 86431) return cityarray86431;

if (provinceid == 86451) return cityarray86451;

if (provinceid == 86551) return cityarray86551;

if (provinceid == 86591) return cityarray86591;

if (provinceid == 86791) return cityarray86791;

if (provinceid == 86531) return cityarray86531;

if (provinceid == 86371) return cityarray86371;

if (provinceid == 8627) return cityarray8627;

if (provinceid == 86731) return cityarray86731;

if (provinceid == 8628) return cityarray8628;

if (provinceid == 86851) return cityarray86851;

if (provinceid == 86871) return cityarray86871;

if (provinceid == 8629) return cityarray8629;

if (provinceid == 86931) return cityarray86931;

if (provinceid == 86971) return cityarray86971;

if (provinceid == 86471) return cityarray86471;

if (provinceid == 86771) return cityarray86771;

if (provinceid == 86898) return cityarray86898;

if (provinceid == 86891) return cityarray86891;

if (provinceid == 86951) return cityarray86951;

if (provinceid == 86991) return cityarray86991;

if (provinceid == 88610) return cityarray88610;

if (provinceid == 85210) return cityarray85210;

if (provinceid == 85310) return cityarray85310;

return new Array();

}

function fillInCities(provinceid) {

document.forms['personalorder']['locid'].length = 0;

var arr = getCitiesFromProvinceID(provinceid);

var cnt = 0;

var isSelected = false;

for(var n=0; narr.length; n++){

newOpt=new Option;

i = arr[n].search(';');

newOpt.text=arr[n].slice(i+1);

newOpt.value=arr[n].slice(0,i);

if (!isSelected){

//newOpt.selected = true;

isSelected = true;

}

document.forms['personalorder']['locid'].options[cnt]=newOpt;

cnt=cnt+1;

}

}

function GetSelectedText(box){

var boxText = '';

for(var i=0; ibox.options.length; i++){

if(box.options[i].selected box.options[i].value != ''){

boxText = box.options[i].value;

}

}

return boxText;

}

function setInd(box) {

ind = GetSelectedText(box);

if(ind != ''){

fillInCities(ind);

}

//alert(ind);

}

/script

/TD

/TR

/TBODY

/TABLE

/body

/html

網(wǎng)頁標(biāo)題:javascript重慶,重慶jsg
網(wǎng)頁鏈接:http://jinyejixie.com/article46/dsdghhg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供微信公眾號建站公司、Google、軟件開發(fā)手機網(wǎng)站建設(shè)、網(wǎng)站營銷

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)
赞皇县| 平罗县| 兴文县| 师宗县| 嘉鱼县| 广丰县| 沧州市| 扎赉特旗| 许昌市| 江油市| 海丰县| 金坛市| 西藏| 遵义县| 资溪县| 武定县| 阳曲县| 长垣县| 天峻县| 开鲁县| 吉安县| 象州县| 吴旗县| 曲周县| 栾川县| 邛崃市| 循化| 千阳县| 福贡县| 平遥县| 定州市| 娱乐| 和林格尔县| 乳源| 四子王旗| 分宜县| 乌海市| 盐池县| 蒙阴县| 涿州市| 鄄城县|