189 8069 5689

javascript天津,校园网禁止进入JAVASCRIPT

谁知道国家选省份的javascript脚本,给个例子地址也可以。谢谢大家了!

这个是我国的各省的城市选择网页,你可以按自己的要求进行一些改动.

创新互联是一家专业提供双塔企业网站建设,专注与做网站、网站设计、html5、小程序制作等业务。10年已为双塔众多企业、政府机构等服务。创新互联专业网络公司优惠进行中。

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不预定/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内蒙古/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;不预定");

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;镇江",

"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;韶关",

"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;景德镇",

"86791799;萍乡");

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;新乡",

"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;内江",

"8628833;乐山",

"862883301;眉山",

"862883401;凉山",

"8628835;雅安",

"862883701;阿坝",

"8628838;德阳",

"8628839;广元");

cityarray86851 = new Array(

"86851851;贵阳",

"86851852;遵义",

"86851853;安顺",

"86851854;都匀",

"86851855;凯里",

"86851856;铜仁",

"86851857;毕节",

"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;平凉",

"86931934;庆阳",

"86931935;金昌",

"8693193501;武威",

"86931936;张掖",

"86931937;酒泉",

"8693193701;嘉峪关",

"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

天津javascript培训需要多长时间

学习JavaScript技术需要四个月到六个月的时间,在学员受到培训的期间,能够学习到很多关于JS的技术,从基础的到高级逐渐延伸。JavaScript是一种脚本语言,常用于网页客户端编程,使网页在客户端浏览器中,实现更多地动态功能,表现出更加丰富的视觉效果。

在北京、天津的前端工程师(我主攻javascript,有一年的web开发经验)待遇分别怎么样,,急求大侠们给解决

如果只会一门技术的话,会不会太窄了呢?好的Web前端开发工程师,需要会很多东西的哦,处理客户端和服务器端的交互,做好页面优化,做好SEO,javascript方向我有一哥们在北京搞这个,你有工作经验,如果技术可以的话,北京至少5000+吧。

发展的话,我了解到的是处理客户端和服务器端的交互,做好页面优化,做好SEO,还要会基本的HTML,Javascript,CSS等Web前端技术,如果还会网页设计就更好了,企业喜欢懂后台开发,懂数据库的还懂前端开发,还懂页面设计,还懂SEO优化的,当然会了这些,我感觉工资就会很高了。


网页名称:javascript天津,校园网禁止进入JAVASCRIPT
本文网址:http://cdxtjz.cn/article/dssdccp.html

其他资讯