齐齐哈尔源码
① 码上城市(讷河)网络科技有限公司怎么样
并不怎么样,你可以下载一个他们的APP看一下,就如你进入首页那样,在线交水费、电费、取暖费、物业费等服务,还有很多便民的服务,比如快递查询(直接跳转到快递100网页),给各个县城居民使用的,毕竟县城很难使用微信、支付宝进行缴费充值,他们是跟各个部门合作,制作在线的缴费接口,千城千面就是每个地区的接口都不一样。技术还是很好的,连APP都是做H5网页,然后免费在线打包生成的。公众号内部嵌入许多商城,也是花了很大的心思去开发的,用了近3位数从某宝购入的“正版”微擎源码(人人商城),衍生了所谓的农业服务。该公司的合作伙伴确实是真实的,蚂蚁金服(支付宝的商户版),腾讯(微信的开放平台),银行(开个基本账户),我个人也跟许多知名企业合作,蒙牛(每天都喝)、苹果(每天都用)、格力(不然夏天受不了)等知名国际品牌。
如果你在齐齐哈尔,多多少少会对该公司有所了解,口碑在行业内的极烂的。
这个APP的盈利还是很高的,但不依靠普罗大众,依靠G(扶)X(持)。“放手去做吧,不赚钱算我的”来自讷河的温大哥如是说。
---一位曾经就职过该公司的员工
② 请问如何实现:在网页中选择了国家,下面自动出现该国家的省名供选择
<script type="text/javascript">
//定义了城市的二维数组,里面的顺序跟省份的顺序是相同的。通过selectedIndex获得省份的下标值来得到相应的城市数组
var city=[
["北京","天津","上海","重庆","香港","澳门"],
["石家庄","唐山","秦皇岛","邯郸","邢台","保定","张家口","承德","沧州","廊坊","衡水"],
["太原","大同","阳泉","长治","晋城","朔州","晋中","运城","忻州","临汾","吕梁"],
["呼和浩特","包头","乌海","赤峰","通辽","鄂尔多斯","呼伦贝尔","巴彦淖尔","乌兰察布","兴安","锡林郭勒","阿拉善"],
["沈阳","大连","鞍山","抚顺","本溪","丹东","锦州","营口","阜新","辽阳","盘锦","铁岭","朝阳","葫芦岛"],
["长春","吉林","四平","辽源","通化","白山","松原","白城","延边"],
["哈尔滨","齐齐哈尔","鸡西","鹤岗","双鸭山","大庆","伊春","佳木斯","七台河","牡丹江","黑河","绥化","大兴安岭"],
["南京","苏州","扬州","无锡","徐州","常州","南通","连云港","淮安","盐城","镇江","泰州","宿迁"],
["杭州","宁波","温州","嘉兴","湖州","绍兴","金华","衢州","舟山","台州","丽水"],
["合肥","芜湖","蚌端口","淮南","马鞍山","淮北","铜陵","安庆","黄山","滁州","阜阳","宿州","巢湖","六安","亳州","池州","宣城"],
["福州","宁德","南平","厦门","莆田","三明","泉州","漳州"],
["南昌","上饶","萍乡","九江","景德镇","新余","鹰潭","赣州","吉安","宜春","抚州"],
["济南","青岛","淄博","枣庄","东营","烟台","潍坊","威海","济宁","泰安","日照","莱芜","临沂","德州","聊城","滨州","菏泽"],
["郑州","开封","洛阳","平顶山","焦作","鹤壁","新乡","安阳","濮阳","漯河","许昌","三门峡","南阳","商丘","信阳","周口","驻马店"],
["武汉","十堰","襄樊","鄂州","黄石","荆州","宜昌","荆门","孝感","黄冈","咸宁","随州","恩施"],
["长沙","株洲","湘潭","岳阳","邵阳","常德","衡阳","张家界","益阳","郴州","永州","怀化","娄底","湘西"],
["广州","清远","潮州","东莞","珠海","深圳","汕头","韶关","佛山","江门","湛江","茂名","肇庆","惠州","梅州","汕尾","阳江","河源","中山","揭阳","云浮"],
["南宁","柳州","桂林","梧州","北海","防城港","钦州","贵港","玉林","百色","贺州","河池","来宾","崇左"],
["海口","三亚"],
["成都","自贡","攀枝花","泸州","德阳","绵阳","广元","遂宁","内江","乐山","南充","宜宾","广安","达州","眉山","雅安","巴中","资阳","阿坝","甘孜","凉山"],
["贵阳","六盘水","遵义","安顺","铜仁","毕节","黔西南","黔东南","黔南"],
["昆明","曲靖","玉溪","保山","昭通","丽江","普洱","临沧","文山","红河","西双版纳","楚雄","大理","德宏","怒江","迪庆"],
["拉萨","昌都","山南","日喀则","那曲","阿里","林芝"],
["西安","铜川","宝鸡","咸阳","渭南","延安","汉中","榆林","安康","商洛"],
["兰州","白银","定西","敦煌","嘉峪关","金昌","天水","武威","张掖","平凉","酒泉","庆阳","临夏","陇南","甘南"],
["西宁","海东","海北","黄南","海南","果洛","玉树","海西"],
["银川","石嘴山","吴忠","固原","中卫"],
["乌鲁木齐","克拉玛依","吐鲁番","哈密","和田","阿克苏","喀什","克孜勒苏柯尔克孜","巴音郭楞蒙古","昌吉","博尔塔拉蒙古","伊犁哈萨克","阿勒泰"],
["台北","高雄","基隆","台中","台南","新竹","嘉义"]
];
function getCity(){
//获得省份下拉框的对象
var sltProvince=document.forms[0].province;
//获得城市下拉框的对象
var sltCity=document.forms[0].city;
//得到对应省份的城市数组
var provinceCity=city[sltProvince.selectedIndex - 1];
//清空城市下拉框,仅留提示选项
sltCity.length=1;
//将城市数组中的值填充到城市下拉框中
for(var i=0;i<provinceCity.length;i++){
sltCity[i+1]=new Option(provinceCity[i],provinceCity[i]);
}
}
</script>
<form action="#" method="POST" name="myform" target="_self" id="myform">
<select name="province" onChange="getCity()">
<option value="null" disabled="disabled">请选择所在省份</option>
<option value="直辖市">直辖市</option>
<option value="河北">河北</option>
<option value="山西">山西</option>
<option value="内蒙古">内蒙古</option>
<option value="辽宁">辽宁</option>
<option value="吉林">吉林</option>
<option value="黑龙江">黑龙江</option>
<option value="江苏">江苏</option>
<option value="浙江">浙江</option>
<option value="安徽">安徽 </option>
<option value="福建">福建 </option>
<option value="江西">江西</option>
<option value="山东">山东</option>
<option value="河南">河南</option>
<option value="湖北">湖北</option>
<option value="湖南">湖南</option>
<option value="广东">广东</option>
<option value="广西">广西</option>
<option value="海南">海南</option>
<option value="四川">四川</option>
<option value="贵州">贵州</option>
<option value="云南">云南</option>
<option value="西藏">西藏</option>
<option value="陕西">陕西 </option>
<option value="甘肃">甘肃 </option>
<option value="青海">青海</option>
<option value="宁夏">宁夏</option>
<option value="新疆">新疆</option>
<option value="台湾">台湾</option>
</select>
<select name="city">
<option selected="selected" value="null">请选择所在城市</option>
</select>
</form> 直接用就可以了。这是 省市 2级联动
③ php 三级联动
<html>
<head>
<title>JS省市县三级联动</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
body,select
{
font-size:9pt;
font-family:Verdana;
}
a
{
color:red;
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
function Dsy()
{
this.Items = {};
}
Dsy.prototype.add = function(id,iArray)
{
this.Items[id] = iArray;
}
Dsy.prototype.Exists = function(id)
{
if(typeof(this.Items[id]) == "undefined") return false;
return true;
}
function change(v){
var str="0";
for(i=0;i<v;i++){ str+=("_"+(document.getElementById(s[i]).selectedIndex-1));};
var ss=document.getElementById(s[v]);
with(ss){
length = 0;
options[0]=new Option(opt0[v],opt0[v]);
if(v && document.getElementById(s[v-1]).selectedIndex>0 || !v)
{
if(dsy.Exists(str)){
ar = dsy.Items[str];
for(i=0;i<ar.length;i++)options[length]=new Option(ar[i],ar[i]);
if(v)options[1].selected = true;
}
}
if(++v<s.length){change(v);}
}
}
var dsy = new Dsy();
dsy.add("0",["北京","安徽","福建","甘肃","广东","广西","贵州","海南","河北","河南","黑龙江","湖北","湖南","吉林","江苏","江西","辽宁","内蒙古","宁夏","青海","山东","山西","陕西","上海","四川","天津","西藏","新疆","云南","浙江","重庆"]);
dsy.add("0_0",["北京"]);
dsy.add("0_0_0",["北京市","东城","西城","崇文","宣武","朝阳","丰台","石景山","海淀","门头沟","房山","通州","顺义","昌平","大兴","平谷","怀柔","密云","延庆"]);
dsy.add("0_1",["安庆","蚌端口","巢湖","池州","滁州","阜阳","合肥","淮北","淮南","黄山","六安","马鞍山","宿州","铜陵","芜湖","宣城","亳州"]);
dsy.add("0_1_0",["安庆市","怀宁县","潜山县","宿松县","太湖县","桐城市","望江县","岳西县","枞阳县"]);
dsy.add("0_1_1",["蚌端口市","固镇县","怀远县","五河县"]);
dsy.add("0_1_2",["巢湖市","含山县","和县","庐江县","无为县"]);
dsy.add("0_1_3",["池州市","东至县","青阳县","石台县"]);
dsy.add("0_1_4",["滁州市","定远县","凤阳县","来安县","明光市","全椒县","天长市"]);
dsy.add("0_1_5",["阜南县","阜阳市","界首市","临泉县","太和县","颖上县"]);
dsy.add("0_1_6",["长丰县","肥东县","肥西县"]);
dsy.add("0_1_7",["淮北市","濉溪县"]);
dsy.add("0_1_8",["凤台县","淮南市"]);
dsy.add("0_1_9",["黄山市","祁门县","休宁县","歙县","黟县"]);
dsy.add("0_1_10",["霍邱县","霍山县","金寨县","六安市","寿县","舒城县"]);
dsy.add("0_1_11",["当涂县","马鞍山市"]);
dsy.add("0_1_12",["灵璧县","宿州市","萧县","泗县","砀山县"]);
dsy.add("0_1_13",["铜陵市","铜陵县"]);
dsy.add("0_1_14",["繁昌县","南陵县","芜湖市","芜湖县"]);
dsy.add("0_1_15",["广德县","绩溪县","郎溪县","宁国市","宣城市","泾县","旌德县"]);
dsy.add("0_1_16",["利辛县","蒙城县","涡阳县","亳州市"]);
dsy.add("0_2",["福州","龙岩","南平","宁德","莆田","泉州","三明","厦门","漳州"]);
dsy.add("0_2_0",["长乐市","福清市","福州市","连江县","罗源县","闽侯县","闽清县","平潭县","永泰县"]);
dsy.add("0_2_1",["长汀县","连城县","龙岩市","上杭县","武平县","永定县","漳平市"]);
dsy.add("0_2_2",["光泽县","建阳市","建瓯市","南平市","浦城县","邵武市","顺昌县","松溪县","武夷山市","政和县"]);
dsy.add("0_2_3",["福安市","福鼎市","古田县","宁德市","屏南县","寿宁县","霞浦县","周宁县","柘荣县"]);
dsy.add("0_2_4",["莆田市","仙游县"]);
dsy.add("0_2_5",["安溪县","德化县","惠安县","金门县","晋江市","南安市","泉州市","石狮市","永春县"]);
dsy.add("0_2_6",["大田县","建宁县","将乐县","明溪县","宁化县","清流县","三明市","沙县","泰宁县","永安市","尤溪县"]);
dsy.add("0_2_7",["厦门市"]);
dsy.add("0_2_8",["长泰县","东山县","华安县","龙海市","南靖县","平和县","云霄县","漳浦县","漳州市","诏安县"]);
dsy.add("0_3",["白银","定西","甘南藏族自治州","嘉峪关","金昌","酒泉","兰州","临夏回族自治州","陇南","平凉","庆阳","天水","武威","张掖"]);
dsy.add("0_3_0",["白银市","会宁县","景泰县","靖远县"]);
dsy.add("0_3_1",["定西县","临洮县","陇西县","通渭县","渭源县","漳县","岷县"]);
dsy.add("0_3_2",["迭部县","合作市","临潭县","碌曲县","玛曲县","夏河县","舟曲县","卓尼县"]);
dsy.add("0_3_3",["嘉峪关市"]);
dsy.add("0_3_4",["金昌市","永昌县"]);
dsy.add("0_3_5",["阿克塞哈萨克族自治县","安西县","敦煌市","金塔县","酒泉市","肃北蒙古族自治县","玉门市"]);
dsy.add("0_3_6",["皋兰县","兰州市","永登县","榆中县"]);
dsy.add("0_3_7",["东乡族自治县","广河县","和政县","积石山保安族东乡族撒拉族自治县","康乐县","临夏市","临夏县","永靖县"]);
dsy.add("0_3_8",["成县","徽县","康县","礼县","两当县","文县","武都县","西和县","宕昌县"]);
dsy.add("0_3_9",["崇信县","华亭县","静宁县","灵台县","平凉市","庄浪县","泾川县"]);
dsy.add("0_3_10",["合水县","华池县","环县","宁县","庆城县","庆阳市","镇原县","正宁县"]);
dsy.add("0_3_11",["甘谷县","秦安县","清水县","天水市","武山县","张家川回族自治县"]);
dsy.add("0_3_12",["古浪县","民勤县","天祝藏族自治县","武威市"]);
dsy.add("0_3_13",["高台县","临泽县","民乐县","山丹县","肃南裕固族自治县","张掖市"]);
dsy.add("0_4",["潮州","东莞","佛山","广州","河源","惠州","江门","揭阳","茂名","梅州","清远","汕头","汕尾","韶关","深圳","阳江","云浮","湛江","肇庆","中山","珠海"]);
dsy.add("0_4_0",["潮安县","潮州市","饶平县"]);
dsy.add("0_4_1",["东莞市"]);
dsy.add("0_4_2",["佛山市"]);
dsy.add("0_4_3",["从化市","广州市","增城市"]);
dsy.add("0_4_4",["东源县","和平县","河源市","连平县","龙川县","紫金县"]);
dsy.add("0_4_5",["博罗县","惠东县","惠阳市","惠州市","龙门县"]);
dsy.add("0_4_6",["恩平市","鹤山市","江门市","开平市","台山市"]);
dsy.add("0_4_7",["惠来县","揭东县","揭西县","揭阳市","普宁市"]);
dsy.add("0_4_8",["电白县","高州市","化州市","茂名市","信宜市"]);
dsy.add("0_4_9",["大埔县","丰顺县","蕉岭县","梅县","梅州市","平远县","五华县","兴宁市"]);
dsy.add("0_4_10",["佛冈县","连南瑶族自治县","连山壮族瑶族自治县","连州市","清新县","清远市","阳山县","英德市"]);
dsy.add("0_4_11",["潮阳市","澄海市","南澳县","汕头市"]);
dsy.add("0_4_12",["海丰县","陆丰市","陆河县","汕尾市"]);
dsy.add("0_4_13",["乐昌市","南雄市","曲江县","仁化县","乳源瑶族自治县","韶关市","始兴县","翁源县","新丰县"]);
dsy.add("0_4_14",["深圳市"]);
dsy.add("0_4_15",["阳春市","阳东县","阳江市","阳西县"]);
dsy.add("0_4_16",["罗定市","新兴县","郁南县","云安县","云浮市"]);
dsy.add("0_4_17",["雷州市","廉江市","遂溪县","吴川市","徐闻县","湛江市"]);
dsy.add("0_4_18",["德庆县","封开县","高要市","广宁县","怀集县","四会市","肇庆市"]);
dsy.add("0_4_19",["中山市"]);
dsy.add("0_4_20",["珠海市"]);
dsy.add("0_5",["百色","北海","崇左","防城港","桂林","贵港","河池","贺州","来宾","柳州","南宁","钦州","梧州","玉林"]);
dsy.add("0_5_0",["百色市","德保县","靖西县","乐业县","凌云县","隆林各族自治县","那坡县","平果县","田东县","田林县","田阳县","西林县"]);
dsy.add("0_5_1",["北海市","合浦县"]);
dsy.add("0_5_2",["崇左市","大新县","扶绥县","龙州县","宁明县","凭祥市","天等县"]);
dsy.add("0_5_3",["东兴市","防城港市","上思县"]);
dsy.add("0_5_4",["恭城瑶族自治县","灌阳县","桂林市","荔浦县","临桂县","灵川县","龙胜各族自治县","平乐县","全州县","兴安县","阳朔县","永福县","资源县"]);
dsy.add("0_5_5",["桂平市","贵港市","平南县"]);
dsy.add("0_5_6",["巴马瑶族自治县","大化瑶族自治县","东兰县","都安瑶族自治县","凤山县","河池市","环江毛南族自治县","罗城仡佬族自治县","南丹县","天峨县","宜州市"]);
dsy.add("0_5_7",["富川瑶族自治县","贺州市","昭平县","钟山县"]);
dsy.add("0_5_8",["合山市","金秀瑶族自治县","来宾市","武宣县","象州县","忻城县"]);
dsy.add("0_5_9",["柳城县","柳江县","柳州市","鹿寨县","融安县","融水苗族自治县","三江侗族自治县"]);
dsy.add("0_5_10",["宾阳县","横县","隆安县","马山县","南宁市","上林县","武鸣县","邕宁县"]);
dsy.add("0_5_11",["灵山县","浦北县","钦州市"]);
dsy.add("0_5_12",["苍梧县","蒙山县","藤县","梧州市","岑溪市"]);
dsy.add("0_5_13",["北流市","博白县","陆川县","容县","兴业县","玉林市"]);
dsy.add("0_6",["安顺","毕节","贵阳","六盘水","黔东南苗族侗族自治州","黔南布依族苗族自治州","黔西南布依族苗族自治州","铜仁","遵义"]);
dsy.add("0_6_0",["安顺市","关岭布依族苗族自治县","平坝县","普定县","镇宁布依族苗族自治县","紫云苗族布依族自治县"]);
dsy.add("0_6_1",["毕节市","大方县","赫章县","金沙县","纳雍县","黔西县","威宁彝族回族苗族自治县","织金县"]);
dsy.add("0_6_2",["贵阳市","开阳县","清镇市","息烽县","修文县"]);
dsy.add("0_6_3",["六盘水市","六枝特区","盘县","水城县"]);
dsy.add("0_6_4",["从江县","丹寨县","黄平县","剑河县","锦屏县","凯里市","雷山县","黎平县","麻江县","三穗县","施秉县","台江县","天柱县","镇远县","岑巩县","榕江县"]);
dsy.add("0_6_5",["长顺县","都匀市","独山县","福泉市","贵定县","惠水县","荔波县","龙里县","罗甸县","平塘县","三都水族自治县","瓮安县"]);
dsy.add("0_6_6",["安龙县","册亨县","普安县","晴隆县","望谟县","兴仁县","兴义市","贞丰县"]);
dsy.add("0_6_7",["德江县","江口县","石阡县","思南县","松桃苗族自治县","铜仁市","万山特区","沿河土家族自治县","印江土家族苗族自治县","玉屏侗族自治县"]);
dsy.add("0_6_8",["赤水市","道真仡佬族苗族自治县","凤冈县","仁怀市","绥阳县","桐梓县","务川仡佬族苗族自治县","习水县","余庆县","正安县","遵义市","遵义县","湄潭县"]);
dsy.add("0_7",["白沙黎族自治县","保亭黎族苗族自治县","昌江黎族自治县","澄迈县","定安县","东方","海口","乐东黎族自治县","临高县","陵水黎族自治县","琼海","琼中黎族苗族自治县","三亚","屯昌县","万宁","文昌","五指山","儋州"]);
dsy.add("0_7_0",["白沙黎族自治县"]);
dsy.add("0_7_1",["保亭黎族苗族自治县"]);
dsy.add("0_7_2",["昌江黎族自治县"]);
dsy.add("0_7_3",["澄迈县"]);
dsy.add("0_7_4",["定安县"]);
dsy.add("0_7_5",["东方市"]);
dsy.add("0_7_6",["海口市"]);
dsy.add("0_7_7",["乐东黎族自治县"]);
dsy.add("0_7_8",["临高县"]);
dsy.add("0_7_9",["陵水黎族自治县"]);
dsy.add("0_7_10",["琼海市"]);
dsy.add("0_7_11",["琼中黎族苗族自治县"]);
dsy.add("0_7_12",["三亚市"]);
dsy.add("0_7_13",["屯昌县"]);
dsy.add("0_7_14",["万宁市"]);
dsy.add("0_7_15",["文昌市"]);
dsy.add("0_7_16",["五指山市"]);
dsy.add("0_7_17",["儋州市"]);
dsy.add("0_8",["保定","沧州","承德","邯郸","衡水","廊坊","秦皇岛","石家庄","唐山","邢台","张家口"]);
dsy.add("0_8_0",["安国市","安新县","保定市","博野县","定兴县","定州市","阜平县","高碑店市","高阳县","满城县","清苑县","曲阳县","容城县","顺平县","唐县","望都县","雄县","徐水县","易县","涞水县","涞源县","涿州市","蠡县"]);
dsy.add("0_8_1",["泊头市","沧县","沧州市","东光县","海兴县","河间市","黄骅市","孟村回族自治县","南皮县","青县","任丘市","肃宁县","吴桥县","献县","盐山县"]);
dsy.add("0_8_2",["承德市","承德县","丰宁满族自治县","宽城满族自治县","隆化县","滦平县","平泉县","围场满族蒙古族自治县","兴隆县"]);
dsy.add("0_8_3",["成安县","磁县","大名县","肥乡县","馆陶县","广平县","邯郸市","邯郸县","鸡泽县","临漳县","邱县","曲周县","涉县","魏县","武安市","永年县"]);
dsy.add("0_8_4",["安平县","阜城县","故城县","衡水市","冀州市","景县","饶阳县","深州市","武强县","武邑县","枣强县"]);
dsy.add("0_8_5",["霸州市","大厂回族自治县","大城县","固安县","廊坊市","三河市","文安县","香河县","永清县"]);
dsy.add("0_8_6",["昌黎县","抚宁县","卢龙县","秦皇岛市","青龙满族自治县"]);
dsy.add("0_8_7",["高邑县","晋州市","井陉县","灵寿县","鹿泉市","平山县","深泽县","石家庄市","无极县","辛集市","新乐市","行唐县","元氏县","赞皇县","赵县","正定县","藁城市","栾城县"]);
dsy.add("0_8_8",["乐亭县","滦南县","滦县","迁安市","迁西县","唐海县","唐山市","玉田县","遵化市"]);
dsy.add("0_8_9",["柏乡县","广宗县","巨鹿县","临城县","临西县","隆尧县","南宫市","南和县","内丘县","宁晋县","平乡县","清河县","任县","沙河市","威县","新河县","邢台市","邢台县"]);
dsy.add("0_8_10",["赤城县","崇礼县","沽源县","怀安县","怀来县","康保县","尚义县","万全县","蔚县","宣化县","阳原县","张北县","张家口市","涿鹿县"]);
dsy.add("0_9",["安阳","鹤壁","济源","焦作","开封","洛阳","南阳","平顶山","三门峡","商丘","新乡","信阳","许昌","郑州","周口","驻马店","漯河","濮阳"]);
dsy.add("0_9_0",["安阳市","安阳县","滑县","林州市","内黄县","汤阴县"]);
dsy.add("0_9_1",["","鹤壁市","浚县","淇县"]);
dsy.add("0_9_2",["济源市"]);
dsy.add("0_9_3",["博爱县","焦作市","孟州市","沁阳市","温县","武陟县","修武县"]);
dsy.add("0_9_4",["开封市","开封县","兰考县","通许县","尉氏县","杞县"]);
dsy.add("0_9_5",["洛宁县","洛阳市","孟津县","汝阳县","新安县","伊川县","宜阳县","偃师市","嵩县","栾川县"]);
dsy.add("0_9_6",["邓州市","方城县","南阳市","南召县","内乡县","社旗县","唐河县","桐柏县","西峡县","新野县","镇平县","淅川县"]);
dsy.add("0_9_7",["宝丰县","鲁山县","平顶山市","汝州市","舞钢市","叶县","郏县"]);
dsy.add("0_9_8",["灵宝市","卢氏县","三门峡市","陕县","义马市","渑池县"]);
dsy.add("0_9_9",["民权县","宁陵县","商丘市","夏邑县","永城市","虞城县","柘城县","睢县"]);
dsy.add("0_9_10",["长垣县","封丘县","辉县市","获嘉县","卫辉市","新乡市","新乡县","延津县","原阳县"]);
dsy.add("0_9_11",["固始县","光山县","淮滨县","罗山县","商城县","息县","新县","信阳市","潢川县"]);
dsy.add("0_9_12",["长葛市","襄城县","许昌市","许昌县","禹州市","鄢陵县"]);
dsy.add("0_9_13",["登封市","巩义市","新密市","新郑市","郑州市","中牟县","荥阳市"]);
dsy.add("0_9_14",["郸城县","扶沟县","淮阳县","鹿邑县","商水县","沈丘县","太康县","西华县","项城市","周口市"]);
dsy.add("0_9_15",["泌阳县","平舆县","确山县","汝南县","上蔡县","遂平县","西平县","新蔡县","正阳县","驻马店市"]);
dsy.add("0_9_16",["临颍县","舞阳县","郾城县","漯河市"]);
dsy.add("0_9_17",["范县","南乐县","清丰县","台前县","濮阳市","濮阳县"]);
dsy.add("0_10",["大庆","大兴安岭","哈尔滨","鹤岗","黑河","鸡西","佳木斯","牡丹江","七台河","齐齐哈尔","双鸭山","绥化","伊春"]);
dsy.add("0_10_0",["大庆市","杜尔伯特蒙古族自治县","林甸县","肇源县","肇州县"]);
dsy.add("0_10_1",["呼玛县","漠河县","塔河县"]);
dsy.add("0_10_2",["阿城市","巴彦县","宾县","方正县","哈尔滨市","呼兰县","木兰县","尚志市","双城市","通河县","五常市","延寿县","依兰县"]);
dsy.add("0_10_3",["鹤岗市","萝北县","绥滨县"]);
dsy.add("0_10_4",["北安市","黑河市","嫩江县","孙吴县","五大连池市","逊克县"]);
dsy.add("0_10_5",["虎林市","鸡东县","鸡西市","密山市"]);
dsy.add("0_10_6",["抚远县","富锦市","佳木斯市","汤原县","同江市","桦川县","桦南县"]);
dsy.add("0_10_7",["东宁县","海林市","林口县","牡丹江市","穆棱市","宁安市","绥芬河市"]);
dsy.add("0_10_8",["勃利县","七台河市"]);
dsy.add("0_10_9",["拜泉县","富裕县","甘南县","克东县","克山县","龙江县","齐齐哈尔市","泰来县","依安县","讷河市"]);
dsy.add("0_10_10",["宝清县","集贤县","饶河县","双鸭山市","友谊县"]);
dsy.add("0_10_11",["安达市","海伦市","兰西县","明水县","青冈县","庆安县","绥化市","绥棱县","望奎县","肇东市"]);
dsy.add("0_10_12",["嘉荫县","铁力市","伊春市"]);
dsy.add("0_11",["鄂州","恩施土家族苗族自治州","黄冈","黄石","荆门","荆州","潜江","神农架林区","十堰","随州","天门","武汉","仙桃","咸宁","襄樊","孝感","宜昌"]);
dsy.add("0_11_0",["鄂州市"]);
dsy.add("0_11_1",["巴东县","恩施市","鹤峰县","建始县","来凤县","利川市","咸丰县","宣恩县"]);
dsy.add("0_11_2",["红安县","黄冈市","黄梅县","罗田县","麻城市","团风县","武穴市","英山县","蕲春县","浠水县"]);
dsy.add("0_11_3",["大冶市","黄石市","阳新县"]);
dsy.add("0_11_4",["荆门市","京山县","沙洋县","钟祥市"]);
dsy.add("0_11_5",["公安县","洪湖市","监利县","江陵县","荆州市","石首市","松滋市"]);
dsy.add("0_11_6",["潜江市"]);
dsy.add("0_11_7",["神农架林区"]);
dsy.add("0_11_8",["丹江口市","房县","十堰市","郧西县","郧县","竹山县","竹溪县"]);
dsy.add("0_11_9",["广水市","随州市"]);
dsy.add("0_11_10",["天门市"]);
dsy.add("0_11_11",["武汉市"]);
dsy.add("0_11_12",["仙桃市"]);
dsy.add("0_11_13",["赤壁市","崇阳县","嘉鱼县","通城县","通山县","咸宁市"]);
dsy.add("0_11_14",["保康县","谷城县","老河口市","南漳县","襄樊市","宜城市","枣阳市"]);
dsy.add("0_11_15",["安陆市","大悟县","汉川市","孝昌县","孝感市","应城市","云梦县"]);
dsy.add("0_11_16",["长阳土家族自治县","当阳市","五峰土家族自治县","兴山县","宜昌市","宜都市","远安县","枝江市","秭归县"]);
dsy.add("0_30",["重庆"]);
dsy.add("0_30_0",["城口县","大足县","垫江县","丰都县","奉节县","合川市","江津市","开县","梁平县","南川市","彭水苗族土家族自治县","荣昌县","石柱土家族自治县","铜梁县","巫山县","巫溪县","武隆县","秀山土家族苗族自治县","永川市","酉阳土家族苗族自治县","云阳县","忠县","重庆市","潼南县","璧山县","綦江县"]);
//-->
</SCRIPT>
<SCRIPT LANGUAGE = JavaScript>
<!--
var s=["s1","s2","s3"];
var opt0 = ["省份","地级市","市、县级市、县"];
function setup()
{
for(i=0;i<s.length-1;i++)
document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")");
change(0);
}
//-->
</SCRIPT>
</head>
<body bgcolor="#E0E0E0" onload="setup()">
多级关联菜单:
<form name="frm">
<select id="s1"><option>省份</option></select>
<select id="s2"><option>地级市</option></select>
<select id="s3"><option>市、县级市、县</option></select>
</form>
</body>
</html>
④ c# 做省市县联动
这是我自己做的一个WINFORM下面的天气预报查询的部分代码,详细的话到http://hi..com/feiyangqingyun/blog/item/1f679b09505ea3c73bc763a2.html下载源码。
private void init()
{
string[] s ={"北京市","上海市","天津市","重庆市","香港","澳门","台湾省",
"云南省","内蒙古","吉林省","四川省","宁夏","安徽省","山东省","山西省",
"广东省","广西省","新疆","江苏省","江西省","河北省","河南省","浙江省",
"海南省","湖北省","湖南省","甘肃省","福建省","西藏","贵州省","辽宁省",
"陕西省","青海省","黑龙江省"};
for (int i = 0; i < s.Length; i++)
{
tscboxPro.Items.Add(s[i]);
}
tscboxPro.SelectedIndex = 0;
}
private void tscboxPro_SelectedIndexChanged(object sender, EventArgs e)
{
tscboxCity.Items.Clear();//清空原来的地区值
switch (tscboxPro.Text.Trim())
{
case "北京市": changeCity(1); break;
case "上海市": changeCity(2); break;
case "天津市": changeCity(3); break;
case "重庆市": changeCity(4); break;
case "香港": changeCity(5); break;
case "澳门": changeCity(6); break;
case "台湾省": changeCity(7); break;
case "云南省": changeCity(8); break;
case "内蒙古": changeCity(9); break;
case "吉林省": changeCity(10); break;
case "四川省": changeCity(11); break;
case "宁夏": changeCity(12); break;
case "安徽省": changeCity(13); break;
case "山东省": changeCity(14); break;
case "山西省": changeCity(15); break;
case "广东省": changeCity(16); break;
case "广西省": changeCity(17); break;
case "新疆": changeCity(18); break;
case "江苏省": changeCity(19); break;
case "江西省": changeCity(20); break;
case "河北省": changeCity(21); break;
case "河南省": changeCity(22); break;
case "浙江省": changeCity(23); break;
case "海南省": changeCity(24); break;
case "湖北省": changeCity(25); break;
case "湖南省": changeCity(26); break;
case "甘肃省": changeCity(27); break;
case "福建省": changeCity(28); break;
case "西藏": changeCity(29); break;
case "贵州省": changeCity(30); break;
case "辽宁省": changeCity(31); break;
case "陕西省": changeCity(32); break;
case "青海省": changeCity(33); break;
case "黑龙江省": changeCity(34); break;
}
}
private void changeCity(int i)
{
//定义字符串保存各省份自治区直辖市地区
string[] s1 ={ "北京市" };//北京市
string[] s2 ={ "上海市" };//上海市
string[] s3 ={ "天津市", "塘沽区" };//天津市
string[] s4 ={ "奉节区", "重庆市", "涪陵区" };//重庆市
string[] s5 ={ "香港" };//香港
string[] s6 ={ "澳门" };//澳门
string[] s7 ={ "台北市" };//台湾省
string[] s8 ={"昭通市","丽江市","曲靖市","保山市","大理州","楚雄州","昆明市","瑞丽市",
"玉溪市","临沧市","思茅市","红河州","文山市","西双版纳州","德宏州","怒江州","迪庆州"};//云南省
string[] s9 ={"呼伦贝尔市","兴安盟","锡林郭勒盟","巴彦淖尔","包头市","呼和浩特市",
"锡林浩特市","通辽市","赤峰市","乌海市","鄂尔多斯","乌兰察布市"};//内蒙古
string[] s10 ={ "辽源市", "通化市", "白城市", "松原市", "长春市", "吉林市", "桦甸市", "延边州", "集安市", "白山市", "四平市" };//吉林省
string[] s11 ={"甘孜州","阿坝州","成都市","绵阳市","雅安市","峨眉山市","乐山市","宜宾市","巴中市","达州市","遂宁市",
"南充市","沪州市","自贡市","攀枝花市","德阳市","广元市","内江市","广安市","眉山市","资阳市","凉山州"};//四川省
string[] s12 ={ "石嘴山市", "银川市", "吴忠市", "固原市" };//宁夏回族自治区
string[] s13 ={"淮南市","马鞍山市","淮北市","铜陵市","滁州市","巢湖市","池州市","宜城市",
"毫州市","宿州市","阜阳市","六安市","蚌端口市","合肥市","芜湖市","安庆市","黄山市"};//安徽省
string[] s14 ={"德州市","滨州市","烟台市","聊城市","济南市","泰安市","淄博市","潍坊市","青岛市",
"济宁市","日照市","泰山市","枣庄市","东营市","威海市","莱芜市","临沂市","菏泽市"};//山东省
string[] s15 ={ "长治市", "晋中市", "朔州市", "大同市", "吕梁市", "忻州市", "太原市",
"阳泉市", "临汾市", "运城市", "晋城市", "五台山市" };//山西省
string[] s16 ={ "南雄市", "韶关市", "清远市", "梅州市", "肇庆市", "广州市", "河源市",
"汕头市", "深圳市", "汕尾市", "湛江市", "阳江市", "茂名市", "佛冈市", "梅县市",
"电白市","高要市","珠海市","佛山市","江门市","东莞市","中山市","潮州市","揭阳市","云浮市" };//广东省
string[] s17 ={ "桂林市", "河池市", "柳州市", "百色市", "贵港市", "梧州市", "南宁市",
"钦州市", "北海市", "防城港市", "玉林市", "贺州市", "来宾市", "崇左市" };//广西省
string[] s18 ={ "昌吉州", "克孜勒苏柯尔克孜自治州", "伊犁州", "阿拉尔市", "克拉玛依市",
"博尔塔拉州", "乌鲁木齐市", "吐鲁番市", "阿克苏市", "石河子市", "喀什市", "和田市", "哈密市", "奇台市"};//新疆维吾尔自治区
string[] s19 ={ "无锡市", "苏州市", "盱眙市", "赣榆市", "东台市", "高邮市", "镇江市",
"泰州市", "宿迁市", "徐州市", "连云港市", "淮安市", "南京市", "扬州市", "盐城市", "南通市", "常州市"};//江苏省
string[] s20 ={ "庐山市", "玉山市", "贵溪市", "广昌市", "萍乡市", "新余市", "宜春市",
"赣州市", "九江市", "景德镇市", "南昌市", "鹰潭市", "上饶市", "抚州市" };//江西省
string[] s21 ={ "邯郸市", "衡水市", "石家庄市", "邢台市", "张家口市", "承德市",
"秦皇岛市", "廊坊市", "唐山市", "保定市", "沧州市" };//河北省
string[] s22 ={ "安阳市", "三门峡市", "郑州市", "南阳市", "周口店市", "驻马店市", "信阳市",
"开封市", "洛阳市", "平顶山市", "焦作市", "鹤壁市", "新乡市", "濮阳市", "许昌市", "漯河市", "商丘市", "济源市" };//河南省
string[] s23 ={ "湖州市", "嵊州市", "平湖市", "石浦市", "宁海市", "洞头市", "舟山市", "杭州市",
"嘉兴市", "定海市", "金华市", "绍兴市", "宁波市", "衢州市", "丽水市", "台州市", "温州市" };//浙江省
string[] s24 ={ "海口市", "三亚市", "屯昌市", "琼海市", "儋州市", "文昌市", "万宁市", "东方市",
"澄迈市", "定安市", "临高市", "白沙黎族自治县", "乐东黎族自治县", "乐东黎族自治县", "乐东黎族自治县", "琼中黎族苗族自治县" };//海南省
string[] s25 ={ "襄樊市", "荆门市", "黄冈市", "恩施市", "武汉市", "黄石市", "鄂州市",
"孝感市", "咸宁市", "随州市", "仙桃市", "天门市", "潜江市", "神农架市" };//湖北省
string[] s26 ={ "张家界市", "岳阳市", "怀化市", "长沙市", "邵阳市", "益阳市", "郴州市",
"桑植市", "沅陵市", "南充市", "株洲市", "湘潭市", "衡阳市", "娄底市", "常德市"};//湖南省
string[] s27 ={ "张掖市", "金昌市", "武威市", "兰州市", "白银市", "定西市", "平凉市",
"庆阳市", "甘南市", "临夏市", "天水市", "嘉峪关市", "酒泉市", "陇南市市" };//甘肃省
string[] s28 ={ "莆田市", "浦城市", "南平市", "宁德市", "福州市", "龙岩市", "三明市", "泉州市", "漳州市", "厦门市" };//福建省
string[] s29 ={ "那曲地区", "日喀则地区", "拉萨市", "山南地区", "阿里地区", "昌都地区", "林芝地区" };//西藏
string[] s30 ={ "毕节市", "遵义市", "铜仁市", "安顺市", "贵阳市", "黔西南州", "六盘水市", };//贵州省
string[] s31 ={ "葫芦岛市", "盘锦市", "辽阳市", "铁岭市", "阜新市", "朝阳市", "锦州市",
"鞍山市", "沈阳市", "本溪市", "抚顺市", "营口市", "丹东市", "瓦房店市", "大连市" };//辽宁省
string[] s32 ={ "榆林市市", "延安市", "西安市", "渭南市", "汉中市", "商洛市", "安康市", "铜川市", "宝鸡市", "咸阳市" };//陕西省
string[] s33 ={ "海北州", "海南州", "西宁州", "玉树州", "黄南州", "果洛州", "海西州", "海东州" };//青海省
string[] s34 ={ "大兴安岭地区", "黑河市", "齐齐哈尔市", "绥化市", "鹤岗市", "佳木斯市", "伊春市", "双鸭山市",
"哈尔滨市", "鸡西市", "漠河市", "大庆市", "七台河市", "牡丹江市", "绥芬河市"};//黑龙江省
//根据传递过来的值添加对应省份地区
switch (i)
{
case 1:
for (int j = 0; j < s1.Length; j++)
{
tscboxCity.Items.Add(s1[j]);
}
break;
case 2:
for (int j = 0; j < s2.Length; j++)
{
tscboxCity.Items.Add(s2[j]);
}
break;
case 3:
for (int j = 0; j < s3.Length; j++)
{
tscboxCity.Items.Add(s3[j]);
}
break;
case 4:
for (int j = 0; j < s4.Length; j++)
{
tscboxCity.Items.Add(s4[j]);
}
break;
case 5:
for (int j = 0; j < s5.Length; j++)
{
tscboxCity.Items.Add(s5[j]);
}
break;
case 6:
for (int j = 0; j < s6.Length; j++)
{
tscboxCity.Items.Add(s6[j]);
}
break;
case 7:
for (int j = 0; j < s7.Length; j++)
{
tscboxCity.Items.Add(s7[j]);
}
break;
case 8:
for (int j = 0; j < s8.Length; j++)
{
tscboxCity.Items.Add(s8[j]);
}
break;
case 9:
for (int j = 0; j < s9.Length; j++)
{
tscboxCity.Items.Add(s9[j]);
}
break;
case 10:
for (int j = 0; j < s10.Length; j++)
{
tscboxCity.Items.Add(s10[j]);
}
break;
case 11:
for (int j = 0; j < s11.Length; j++)
{
tscboxCity.Items.Add(s11[j]);
}
break;
case 12:
for (int j = 0; j < s12.Length; j++)
{
tscboxCity.Items.Add(s12[j]);
}
break;
case 13:
for (int j = 0; j < s13.Length; j++)
{
tscboxCity.Items.Add(s13[j]);
}
break;
case 14:
for (int j = 0; j < s14.Length; j++)
{
tscboxCity.Items.Add(s14[j]);
}
break;
case 15:
for (int j = 0; j < s15.Length; j++)
{
tscboxCity.Items.Add(s15[j]);
}
break;
case 16:
for (int j = 0; j < s16.Length; j++)
{
tscboxCity.Items.Add(s16[j]);
}
break;
case 17:
for (int j = 0; j < s17.Length; j++)
{
tscboxCity.Items.Add(s17[j]);
}
break;
case 18:
for (int j = 0; j < s18.Length; j++)
{
tscboxCity.Items.Add(s18[j]);
}
break;
case 19:
for (int j = 0; j < s19.Length; j++)
{
tscboxCity.Items.Add(s19[j]);
}
break;
case 20:
for (int j = 0; j < s20.Length; j++)
{
tscboxCity.Items.Add(s20[j]);
}
break;
case 21:
for (int j = 0; j < s21.Length; j++)
{
tscboxCity.Items.Add(s21[j]);
}
break;
case 22:
for (int j = 0; j < s22.Length; j++)
{
tscboxCity.Items.Add(s22[j]);
}
break;
case 23:
for (int j = 0; j < s23.Length; j++)
{
tscboxCity.Items.Add(s23[j]);
}
break;
case 24:
for (int j = 0; j < s24.Length; j++)
{
tscboxCity.Items.Add(s24[j]);
}
break;
case 25:
for (int j = 0; j < s25.Length; j++)
{
tscboxCity.Items.Add(s25[j]);
}
break;
case 26:
for (int j = 0; j < s26.Length; j++)
{
tscboxCity.Items.Add(s26[j]);
}
break;
case 27:
for (int j = 0; j < s27.Length; j++)
{
tscboxCity.Items.Add(s27[j]);
}
break;
case 28:
for (int j = 0; j < s28.Length; j++)
{
tscboxCity.Items.Add(s28[j]);
}
break;
case 29:
for (int j = 0; j < s29.Length; j++)
{
tscboxCity.Items.Add(s29[j]);
}
break;
case 30:
for (int j = 0; j < s30.Length; j++)
{
tscboxCity.Items.Add(s30[j]);
}
break;
case 31:
for (int j = 0; j < s31.Length; j++)
{
tscboxCity.Items.Add(s31[j]);
}
break;
case 32:
for (int j = 0; j < s32.Length; j++)
{
tscboxCity.Items.Add(s32[j]);
}
break;
case 33:
for (int j = 0; j < s33.Length; j++)
{
tscboxCity.Items.Add(s33[j]);
}
break;
case 34:
for (int j = 0; j < s34.Length; j++)
{
tscboxCity.Items.Add(s34[j]);
}
break;
}
tscboxCity.SelectedIndex = 0;
}
数据库查询效率执行速度太慢,这种方法代码是多,但效率高!
⑤ ASP里的表单问题~!急
<select onchange=setcity(); name=prv>
<option value="">选择省份</option>
<OPTION value=安徽>安徽</OPTION>
<OPTION value=北京>北京</OPTION>
<OPTION value=重庆>重庆</OPTION>
<OPTION value=福建>福建</OPTION>
<OPTION value=甘肃>甘肃</OPTION>
<OPTION value=广东>广东</OPTION>
<OPTION value=广西>广西</OPTION>
<OPTION value=贵州>贵州</OPTION>
<OPTION value=海南>海南</OPTION>
<OPTION value=河北>河北</OPTION>
<OPTION value=黑龙江>黑龙江</OPTION>
<OPTION value=河南>河南</OPTION>
<OPTION value=香港>香港</OPTION>
<OPTION value=湖北>湖北</OPTION>
<OPTION value=湖南>湖南</OPTION>
<OPTION value=江苏>江苏</OPTION>
<OPTION value=江西>江西</OPTION>
<OPTION value=吉林>吉林</OPTION>
<OPTION value=辽宁>辽宁</OPTION>
<OPTION value=澳门>澳门</OPTION>
<OPTION value=内蒙古>内蒙古</OPTION>
<OPTION value=宁夏>宁夏</OPTION>
<OPTION value=青海>青海</OPTION>
<OPTION value=山东>山东</OPTION>
<OPTION value=上海>上海</OPTION>
<OPTION value=山西>山西</OPTION>
<OPTION value=陕西>陕西</OPTION>
<OPTION value=四川>四川</OPTION>
<OPTION value=台湾>台湾</OPTION>
<OPTION value=天津>天津</OPTION>
<OPTION value=新疆>新疆</OPTION>
<OPTION value=西藏>西藏</OPTION>
<OPTION value=云南>云南</OPTION>
<OPTION value=浙江>浙江</OPTION>
</select>
<select name=city></select>市
<SCRIPT language=javascript >
<!--
function setcity() {
switch (document.form1.prv.value) {
case "" :
var cityOptions = new Array("", "");
break;
case "安徽" :
var cityOptions = new Array(
"合肥", "合肥","安庆", "安庆","蚌端口", "蚌端口","亳州", "亳州","巢湖", "巢湖","滁州", "滁州","阜阳", "阜阳","贵池", "贵池","淮北", "淮北","淮化", "淮化","淮南", "淮南", "黄山", "黄山", "九华山", "九华山", "六安", "六安","马鞍山", "马鞍山","宿州", "宿州","铜陵", "铜陵","屯溪", "屯溪","芜湖", "芜湖", "宣城", "宣城");
break;
case "北京" :
var cityOptions = new Array(
"北京", "北京","东城","西城","崇文","宣武","朝阳","丰台","石景山","海淀","门头沟","房山","通州","顺义","昌平","大兴","平谷","怀柔","密云","延庆");
break;
case "重庆" :
var cityOptions = new Array(
"重庆", "重庆","万州","涪陵","渝中","大渡口","江北","沙坪坝","九龙坡","南岸","北碚","万盛","双挢","渝北","巴南","黔江","长寿","綦江","潼南","铜梁","大足","荣昌","壁山","梁平","城口","丰都","垫江","武隆","忠县","开县","云阳","奉节","巫山","巫溪","石柱","秀山","酉阳","彭水","江津","合川","永川","南川");
break;
case "福建" :
var cityOptions = new Array(
"福州", "福州","福安", "福安","龙岩", "龙岩","南平", "南平","宁德", "宁德","莆田", "莆田","泉州", "泉州","三明", "三明","邵武", "邵武","石狮", "石狮","永安","永安", "武夷山", "武夷山","厦门", "厦门", "漳州", "漳州");
break;
case "甘肃" :
var cityOptions = new Array(
"兰州(*)", "兰州",
"白银", "白银",
"定西", "定西",
"敦煌", "敦煌",
"甘南", "甘南",
"金昌", "金昌",
"酒泉", "酒泉",
"临夏", "临夏",
"平凉", "平凉",
"天水", "天水",
"武都", "武都",
"西峰", "西峰",
"张掖", "张掖");
break;
case "广东" :
var cityOptions = new Array(
"广州(*)", "广州",
"潮阳", "潮阳",
"潮州", "潮州",
"澄海", "澄海",
"东莞", "东莞",
"佛山", "佛山",
"河源", "河源",
"惠州", "惠州",
"江门", "江门",
"揭阳", "揭阳",
"开平", "开平",
"茂名", "茂名",
"梅州", "梅州",
"清远", "清远",
"汕头", "汕头",
"汕尾", "汕尾",
"韶关", "韶关",
"深圳", "深圳",
"顺德", "顺德",
"阳江", "阳江",
"阳江", "阳江",
"英德", "英德",
"云浮", "云浮",
"增城", "增城",
"湛江", "湛江",
"肇庆", "肇庆",
"中山", "中山",
"珠海", "珠海");
break;
case "广西" :
var cityOptions = new Array(
"南宁(*)", "南宁",
"百色", "百色",
"北海", "北海",
"桂林", "桂林",
"防城港", "防城港",
"河池", "河池",
"柳州", "柳州",
"钦州", "钦州",
"梧州", "梧州",
"玉林", "玉林");
break;
case "贵州" :
var cityOptions = new Array(
"贵阳(*)", "贵阳",
"安顺", "安顺",
"毕节", "毕节",
"都匀", "都匀",
"凯里", "凯里",
"六盘水", "六盘水",
"铜仁", "铜仁",
"兴义", "兴义",
"玉屏", "玉屏",
"遵义", "遵义");
break;
case "海南" :
var cityOptions = new Array(
"海口(*)", "海口",
"儋县", "儋县",
"陵水", "陵水",
"琼海", "琼海",
"三亚", "三亚",
"通什", "通什",
"万宁", "万宁");
break;
case "河北" :
var cityOptions = new Array(
"石家庄(*)", "石家庄",
"保定", "保定",
"北戴河", "北戴河",
"沧州", "沧州",
"承德", "承德",
"丰润", "丰润",
"邯郸", "邯郸",
"衡水", "衡水",
"廊坊", "廊坊",
"南戴河", "南戴河",
"秦皇岛", "秦皇岛",
"唐山", "唐山",
"新城", "新城",
"邢台", "邢台",
"张家口", "张家口");
break;
case "黑龙江" :
var cityOptions = new Array(
"哈尔滨(*)", "哈尔滨",
"北安", "北安",
"大庆", "大庆",
"大兴安岭", "大兴安岭",
"鹤岗", "鹤岗",
"黑河", "黑河",
"佳木斯", "佳木斯",
"鸡西", "鸡西",
"牡丹江", "牡丹江",
"齐齐哈尔", "齐齐哈尔",
"七台河", "七台河",
"双鸭山", "双鸭山",
"绥化", "绥化",
"伊春", "伊春");
break;
case "河南" :
var cityOptions = new Array(
"郑州(*)", "郑州",
"安阳", "安阳",
"鹤壁", "鹤壁",
"潢川", "潢川",
"焦作", "焦作",
"开封", "开封",
"漯河", "漯河",
"洛阳", "洛阳",
"南阳", "南阳",
"平顶山", "平顶山",
"濮阳", "濮阳",
"三门峡", "三门峡",
"商丘", "商丘",
"新乡", "新乡",
"信阳", "信阳",
"许昌", "许昌",
"周口", "周口",
"驻马店", "驻马店");
break;
case "香港" :
var cityOptions = new Array(
"香港", "香港",
"九龙", "九龙");
break;
case "湖北" :
var cityOptions = new Array(
"武汉(*)", "武汉",
"恩施", "恩施",
"鄂州", "鄂州",
"黄岗", "黄岗",
"黄石", "黄石",
"荆门", "荆门",
"荆州", "荆州",
"潜江", "潜江",
"十堰", "十堰",
"随州", "随州",
"武穴", "武穴",
"仙桃", "仙桃",
"咸宁", "咸宁",
"襄阳", "襄阳",
"襄樊", "襄樊",
"孝感", "孝感",
"宜昌", "宜昌");
break;
case "湖南" :
var cityOptions = new Array(
"长沙(*)", "长沙",
"常德", "常德",
"郴州", "郴州",
"衡阳", "衡阳",
"怀化", "怀化",
"吉首", "吉首",
"娄底", "娄底",
"邵阳", "邵阳",
"湘潭", "湘潭",
"益阳", "益阳",
"岳阳", "岳阳",
"永州", "永州",
"张家界", "张家界",
"株洲", "株洲");
break;
case "江苏" :
var cityOptions = new Array(
"南京(*)", "南京",
"常熟", "常熟",
"常州", "常州",
"海门", "海门",
"淮安", "淮安",
"江都", "江都",
"江阴", "江阴",
"昆山", "昆山",
"连云港", "连云港",
"南通", "南通",
"启东", "启东",
"沭阳", "沭阳",
"苏州", "苏州",
"太仓", "太仓",
"泰州", "泰州",
"同里", "同里",
"无锡", "无锡",
"徐州", "徐州",
"盐城", "盐城",
"扬州", "扬州",
"宜兴", "宜兴",
"仪征", "仪征",
"张家港", "张家港",
"镇江", "镇江",
"周庄", "周庄");
break;
case "江西" :
var cityOptions = new Array(
"南昌(*)", "南昌",
"抚州", "抚州",
"赣州", "赣州",
"吉安", "吉安",
"景德镇", "景德镇",
"井冈山", "井冈山",
"九江", "九江",
"庐山", "庐山",
"萍乡", "萍乡",
"上饶", "上饶",
"新余", "新余",
"宜春", "宜春",
"鹰潭", "鹰潭");
break;
case "吉林" :
var cityOptions = new Array(
"长春(*)", "长春",
"白城", "白城",
"白山", "白山",
"珲春", "珲春",
"辽源", "辽源",
"梅河", "梅河",
"吉林", "吉林",
"四平", "四平",
"松原", "松原",
"通化", "通化",
"延吉", "延吉");
break;
case "辽宁" :
var cityOptions = new Array(
"沈阳(*)", "沈阳",
"鞍山", "鞍山",
"本溪", "本溪",
"朝阳", "朝阳",
"大连", "大连",
"丹东", "丹东",
"抚顺", "抚顺",
"阜新", "阜新",
"葫芦岛", "葫芦岛",
"锦州", "锦州",
"辽阳", "辽阳",
"盘锦", "盘锦",
"铁岭", "铁岭",
"营口", "营口");
break;
case "澳门" :
var cityOptions = new Array(
"澳门", "澳门");
break;
case "内蒙古" :
var cityOptions = new Array(
"呼和浩特(*)", "呼和浩特",
"阿拉善盟", "阿拉善盟",
"包头", "包头",
"赤峰", "赤峰",
"东胜", "东胜",
"海拉尔", "海拉尔",
"集宁", "集宁",
"临河", "临河",
"通辽", "通辽",
"乌海", "乌海",
"乌兰浩特", "乌兰浩特",
"锡林浩特", "锡林浩特");
break;
case "宁夏" :
var cityOptions = new Array(
"银川(*)", "银川",
"固源", "固源",
"石嘴山", "石嘴山",
"吴忠", "吴忠");
break;
case "青海" :
var cityOptions = new Array(
"西宁(*)", "西宁",
"德令哈", "德令哈",
"格尔木", "格尔木",
"共和", "共和",
"海东", "海东",
"海晏", "海晏",
"玛沁", "玛沁",
"同仁", "同仁",
"玉树", "玉树");
break;
case "山东" :
var cityOptions = new Array(
"济南(*)", "济南",
"滨州", "滨州",
"兖州", "兖州",
"德州", "德州",
"东营", "东营",
"荷泽", "荷泽",
"济宁", "济宁",
"莱芜", "莱芜",
"聊城", "聊城",
"临沂", "临沂",
"蓬莱", "蓬莱",
"青岛", "青岛",
"曲阜", "曲阜",
"日照", "日照",
"泰安", "泰安",
"潍坊", "潍坊",
"威海", "威海",
"烟台", "烟台",
"枣庄", "枣庄",
"淄博", "淄博");
break;
case "上海" :
var cityOptions = new Array(
"上海", "上海",
"崇明", "崇明",
"朱家角", "朱家角");
break;
case "山西" :
var cityOptions = new Array(
"太原(*)", "太原",
"长治", "长治",
"大同", "大同",
"候马", "候马",
"晋城", "晋城",
"离石", "离石",
"临汾", "临汾",
"宁武", "宁武",
"朔州", "朔州",
"忻州", "忻州",
"阳泉", "阳泉",
"榆次", "榆次",
"运城", "运城");
break;
case "陕西" :
var cityOptions = new Array(
"西安(*)", "西安",
"安康", "安康",
"宝鸡", "宝鸡",
"汉中", "汉中",
"渭南", "渭南",
"商州", "商州",
"绥德", "绥德",
"铜川", "铜川",
"咸阳", "咸阳",
"延安", "延安",
"榆林", "榆林");
break;
case "四川" :
var cityOptions = new Array(
"成都(*)", "成都",
"巴中", "巴中",
"达安", "达安",
"德阳", "德阳",
"都江堰", "都江堰",
"峨眉山", "峨眉山",
"涪陵", "涪陵",
"广安", "广安",
"广元", "广元",
"九寨沟", "九寨沟",
"康定", "康定",
"乐山", "乐山",
"泸州", "泸州",
"马尔康", "马尔康",
"绵阳", "绵阳",
"南充", "南充",
"内江", "内江",
"攀枝花", "攀枝花",
"遂宁", "遂宁",
"汶川", "汶川",
"西昌", "西昌",
"雅安", "雅安",
"宜宾", "宜宾",
"自贡", "自贡");
break;
case "台湾" :
var cityOptions = new Array(
"台北(*)", "台北",
"基隆", "基隆",
"台南", "台南",
"台中", "台中");
break;
case "天津" :
var cityOptions = new Array(
"天津", "天津");
break;
case "新疆" :
var cityOptions = new Array(
"乌鲁木齐(*)", "乌鲁木齐",
"阿克苏", "阿克苏",
"阿勒泰", "阿勒泰",
"阿图什", "阿图什",
"博乐", "博乐",
"昌吉", "昌吉",
"东山", "东山",
"哈密", "哈密",
"和田", "和田",
"喀什", "喀什",
"克拉玛依", "克拉玛依",
"库车", "库车",
"库尔勒", "库尔勒",
"奎屯", "奎屯",
"石河子", "石河子",
"塔城", "塔城",
"吐鲁番", "吐鲁番",
"伊宁", "伊宁");
break;
case "西藏" :
var cityOptions = new Array(
"拉萨(*)", "拉萨",
"阿里", "阿里",
"昌都", "昌都",
"林芝", "林芝",
"那曲", "那曲",
"日喀则", "日喀则",
"山南", "山南");
break;
case "云南" :
var cityOptions = new Array(
"昆明(*)", "昆明",
"大理", "大理",
"保山", "保山",
"楚雄", "楚雄",
"大理", "大理",
"东川", "东川",
"个旧", "个旧",
"景洪", "景洪",
"开远", "开远",
"临沧", "临沧",
"丽江", "丽江",
"六库", "六库",
"潞西", "潞西",
"曲靖", "曲靖",
"思茅", "思茅",
"文山", "文山",
"西双版纳", "西双版纳",
"玉溪", "玉溪",
"中甸", "中甸",
"昭通", "昭通");
break;
case "浙江" :
var cityOptions = new Array(
"杭州(*)", "杭州",
"安吉", "安吉",
"慈溪", "慈溪",
"定海", "定海",
"奉化", "奉化",
"海盐", "海盐",
"黄岩", "黄岩",
"湖州", "湖州",
"嘉兴", "嘉兴",
"金华", "金华",
"临安", "临安",
"临海", "临海",
"丽水", "丽水",
"宁波", "宁波",
"瓯海", "瓯海",
"平湖", "平湖",
"千岛湖", "千岛湖",
"衢州", "衢州",
"瑞安", "瑞安",
"绍兴", "绍兴",
"嵊州", "嵊州",
"台州", "台州",
"温岭", "温岭",
"温州", "温州");
break;
}
document.form1.city.options.length = 0;
for(var i = 0; i < cityOptions.length/2; i++) {
document.form1.city.options[i]=new Option(cityOptions[i*2],cityOptions[i*2+1]);
if (document.form1.city.options[i].value=="") document.form1.city.selectedIndex = i;
}
}
function initprovcity() {
for(var i = 0; i < document.form1.prv.options.length; i++) {
if (document.form1.prv.options[i].value=="") document.form1.prv.selectedIndex = i;
}
setcity();
}
onload=initprovcity;
-->
</SCRIPT>
</select>
⑥ 齐齐哈尔软件外包公司-软件开发公司-软件公司有哪些
哲程软件
⑦ 谁有列表网的源代码
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>分类信息免费发布|列表网</title><meta name="description" content="列表网是本地生活分类信息免费查询及发布平台。交友,征婚,家政,招聘,租房,二手房,跳蚤市场尽在列表网。"><meta name="keywords" content="分类信息,分类广告,生活信息,免费发布"><link rel="stylesheet" href="http://www.cnlist.org/css/m.css" type="text/css" media="all"><script language="javascript" src="http://www.cnlist.org/js/cnlist.js"></script></head><body class="entry"><table cellspacing="2" cellpadding="0" width="890"><tr><td><table cellspacing="2" cellpadding="0" width="100%"><tr><td><a href="http://www.cnlist.org/"><img src="http://www.cnlist.org/image/logo.gif" alt="列表网"></a><hr style="background-color:#CC9933;height:1px; margin-bottom:0;"></td></tr><tr>
<td><h1>交友征婚</span>、<span class="hcty">生活服务</span>、<span class="hcty">招聘求职</span>、<span class="hcty">房屋出租出售</span>、<span class="hcty">跳蚤市场</span>、<span class="hcty">生意转让</span>、<span class="hcty">二手车</span>等分类信息免费发布。</h1>
<h2 class="greytext"><a href="/">列表网</a>是<strong>分类信息</strong>查询及发布的公益性网站。在这里你可以浏览及发布<strong>拼车</strong>、<strong>租车</strong>、<strong>打折</strong>、<strong>寻人</strong>、<strong>租房</strong>、<strong>房屋出售</strong>、<strong>交友</strong>、<strong>物品交易</strong>、<strong>火车票转让</strong>、<strong>兼职</strong>、<strong>招聘</strong>、<strong>生意转让</strong>、<strong>连锁加盟</strong>等分类信息。无需注册,免费发布分类广告,查询生活信息。</h2>
<p><a href="http://beijing.cnlist.org/" OnClick="setcity('beijing')" class="gocty">进入列表网<span style="color:green">北京</span>站</a></p><div class="suggdiv">列表网猜出您可能在<a href="http://beijing.cnlist.org/" OnClick="setcity('beijing')" class="hcty"><b>北京</b></a>,如果不是,请选择您所在的城市。下次您登陆列表网会自动进入您所选的城市。</div></td>
</tr><tr><td><br><table width="100%"><tr><td class=ctp>直辖市</td><td class=ct><a href="http://beijing.cnlist.org/" OnClick="setcity('beijing')" class="hcty">北京</a> <a href="http://tianjin.cnlist.org/" OnClick="setcity('tianjin')" class="hcty">天津</a> <a href="http://shanghai.cnlist.org/" OnClick="setcity('shanghai')" class="hcty">上海</a> <a href="http://chongqing.cnlist.org/" OnClick="setcity('chongqing')" class="hcty">重庆</a> </td></tr><tr><td class=ctp>河北</td><td class=ct><a href="http://shijiazhuang.cnlist.org/" OnClick="setcity('shijiazhuang')" class="hcty">石家庄</a> <a href="http://tangshan.cnlist.org/" OnClick="setcity('tangshan')" class="hcty">唐山</a> <a href="http://qinhuang.cnlist.org/" OnClick="setcity('qinhuang')">秦皇岛</a> <a href="http://handan.cnlist.org/" OnClick="setcity('handan')">邯郸</a> <a href="http://xingtai.cnlist.org/" OnClick="setcity('xingtai')">邢台</a> <a href="http://baoding.cnlist.org/" OnClick="setcity('baoding')">保定</a> <a href="http://zhangjiakou.cnlist.org/" OnClick="setcity('zhangjiakou')">张家口</a> <a href="http://chengde.cnlist.org/" OnClick="setcity('chengde')">承德</a> <a href="http://cangzhou.cnlist.org/" OnClick="setcity('cangzhou')">沧州</a> <a href="http://langfang.cnlist.org/" OnClick="setcity('langfang')">廊坊</a> <a href="http://hengshui.cnlist.org/" OnClick="setcity('hengshui')">衡水</a> </td></tr><tr><td class=ctp>山西</td><td class=ct><a href="http://taiyuan.cnlist.org/" OnClick="setcity('taiyuan')" class="hcty">太原</a> <a href="http://datong.cnlist.org/" OnClick="setcity('datong')">大同</a> <a href="http://yangquan.cnlist.org/" OnClick="setcity('yangquan')">阳泉</a> <a href="http://chang.cnlist.org/" OnClick="setcity('chang')">长治</a> <a href="http://jincheng.cnlist.org/" OnClick="setcity('jincheng')">晋城</a> <a href="http://shuozhou.cnlist.org/" OnClick="setcity('shuozhou')">朔州</a> <a href="http://jinzhong.cnlist.org/" OnClick="setcity('jinzhong')">晋中</a> <a href="http://yuncheng.cnlist.org/" OnClick="setcity('yuncheng')">运城</a> <a href="http://xinzhou.cnlist.org/" OnClick="setcity('xinzhou')">忻州</a> <a href="http://linfen.cnlist.org/" OnClick="setcity('linfen')">临汾</a> <a href="http://luliang.cnlist.org/" OnClick="setcity('luliang')">吕梁</a> </td></tr><tr><td class=ctp>内蒙古</td><td class=ct><a href="http://huhehaote.cnlist.org/" OnClick="setcity('huhehaote')" class="hcty">呼和浩特</a> <a href="http://baotou.cnlist.org/" OnClick="setcity('baotou')">包头</a> <a href="http://wuhai.cnlist.org/" OnClick="setcity('wuhai')">乌海</a> <a href="http://chifeng.cnlist.org/" OnClick="setcity('chifeng')">赤峰</a> <a href="http://tongliao.cnlist.org/" OnClick="setcity('tongliao')">通辽</a> <a href="http://eerosi.cnlist.org/" OnClick="setcity('eerosi')">鄂尔多斯</a> <a href="http://hulunbeier.cnlist.org/" OnClick="setcity('hulunbeier')">呼伦贝尔</a> <a href="http://bayannaoer.cnlist.org/" OnClick="setcity('bayannaoer')">巴彦淖尔</a> <a href="http://wulanchabu.cnlist.org/" OnClick="setcity('wulanchabu')">乌兰察布</a> <a href="http://xingan.cnlist.org/" OnClick="setcity('xingan')">兴安</a> <a href="http://xilinguole.cnlist.org/" OnClick="setcity('xilinguole')">锡林郭勒</a> <a href="http://alashan.cnlist.org/" OnClick="setcity('alashan')">阿拉善</a> </td></tr><tr><td class=ctp>辽宁</td><td class=ct><a href="http://shenyang.cnlist.org/" OnClick="setcity('shenyang')" class="hcty">沈阳</a> <a href="http://dalian.cnlist.org/" OnClick="setcity('dalian')" class="hcty">大连</a> <a href="http://anshan.cnlist.org/" OnClick="setcity('anshan')">鞍山</a> <a href="http://fushun.cnlist.org/" OnClick="setcity('fushun')">抚顺</a> <a href="http://benxi.cnlist.org/" OnClick="setcity('benxi')">本溪</a> <a href="http://dandong.cnlist.org/" OnClick="setcity('dandong')">丹东</a> <a href="http://jinzhou.cnlist.org/" OnClick="setcity('jinzhou')">锦州</a> <a href="http://yingkou.cnlist.org/" OnClick="setcity('yingkou')">营口</a> <a href="http://fuxin.cnlist.org/" OnClick="setcity('fuxin')">阜新</a> <a href="http://liaoyang.cnlist.org/" OnClick="setcity('liaoyang')">辽阳</a> <a href="http://panjin.cnlist.org/" OnClick="setcity('panjin')">盘锦</a> <a href="http://tieling.cnlist.org/" OnClick="setcity('tieling')">铁岭</a> <a href="http://chaoyang.cnlist.org/" OnClick="setcity('chaoyang')">朝阳</a> <a href="http://hulu.cnlist.org/" OnClick="setcity('hulu')">葫芦岛</a> </td></tr><tr><td class=ctp>吉林</td><td class=ct><a href="http://changchun.cnlist.org/" OnClick="setcity('changchun')" class="hcty">长春</a> <a href="http://jilin.cnlist.org/" OnClick="setcity('jilin')">吉林</a> <a href="http://siping.cnlist.org/" OnClick="setcity('siping')">四平</a> <a href="http://liaoyuan.cnlist.org/" OnClick="setcity('liaoyuan')">辽源</a> <a href="http://tonghua.cnlist.org/" OnClick="setcity('tonghua')">通化</a> <a href="http://shan.cnlist.org/" OnClick="setcity('shan')">白山</a> <a href="http://songyuan.cnlist.org/" OnClick="setcity('songyuan')">松原</a> <a href="http://cheng.cnlist.org/" OnClick="setcity('cheng')">白城</a> <a href="http://yanbian.cnlist.org/" OnClick="setcity('yanbian')">延边</a> </td></tr><tr><td class=ctp>黑龙江</td><td class=ct><a href="http://haerbin.cnlist.org/" OnClick="setcity('haerbin')" class="hcty">哈尔滨</a> <a href="http://qiqihaer.cnlist.org/" OnClick="setcity('qiqihaer')">齐齐哈尔</a> <a href="http://jixi.cnlist.org/" OnClick="setcity('jixi')">鸡西</a> <a href="http://hegang.cnlist.org/" OnClick="setcity('hegang')">鹤岗</a> <a href="http://shuangyashan.cnlist.org/" OnClick="setcity('shuangyashan')">双鸭山</a> <a href="http://daqing.cnlist.org/" OnClick="setcity('daqing')" class="hcty">大庆</a> <a href="http://yichun.cnlist.org/" OnClick="setcity('yichun')">伊春</a> <a href="http://jiamusi.cnlist.org/" OnClick="setcity('jiamusi')">佳木斯</a> <a href="http://qitaihe.cnlist.org/" OnClick="setcity('qitaihe')">七台河</a> <a href="http://mudanjiang.cnlist.org/" OnClick="setcity('mudanjiang')">牡丹江</a> <a href="http://heihe.cnlist.org/" OnClick="setcity('heihe')">黑河</a> <a href="http://suihua.cnlist.org/" OnClick="setcity('suihua')">绥化</a> <a href="http://daxinganling.cnlist.org/" OnClick="setcity('daxinganling')">大兴安岭</a> </td></tr><tr><td class=ctp>江苏</td><td class=ct><a href="http://nanjing.cnlist.org/" OnClick="setcity('nanjing')" class="hcty">南京</a> <a href="http://wuxi.cnlist.org/" OnClick="setcity('wuxi')" class="hcty">无锡</a> <a href="http://xuzhou.cnlist.org/" OnClick="setcity('xuzhou')">徐州</a> <a href="http://changzhou.cnlist.org/" OnClick="setcity('changzhou')">常州</a> <a href="http://suzhou.cnlist.org/" OnClick="setcity('suzhou')" class="hcty">苏州</a> <a href="http://nantong.cnlist.org/" OnClick="setcity('nantong')">南通</a> <a href="http://lianyungang.cnlist.org/" OnClick="setcity('lianyungang')">连云港</a> <a href="http://huaian.cnlist.org/" OnClick="setcity('huaian')">淮安</a> <a href="http://yancheng.cnlist.org/" OnClick="setcity('yancheng')">盐城</a> <a href="http://yangzhou.cnlist.org/" OnClick="setcity('yangzhou')">扬州</a> <a href="http://zhenjiang.cnlist.org/" OnClick="setcity('zhenjiang')">镇江</a> <a href="http://taizh.cnlist.org/" OnClick="setcity('taizh')">泰州</a> <a href="http://suqian.cnlist.org/" OnClick="setcity('suqian')">宿迁</a> </td></tr><tr><td class=ctp>浙江</td><td class=ct><a href="http://hangzhou.cnlist.org/" OnClick="setcity('hangzhou')" class="hcty">杭州</a> <a href="http://ningbo.cnlist.org/" OnClick="setcity('ningbo')" class="hcty">宁波</a> <a href="http://wenzhou.cnlist.org/" OnClick="setcity('wenzhou')" class="hcty">温州</a> <a href="http://jiaxing.cnlist.org/" OnClick="setcity('jiaxing')">嘉兴</a> <a href="http://huzhou.cnlist.org/" OnClick="setcity('huzhou')">湖州</a> <a href="http://shaoxing.cnlist.org/" OnClick="setcity('shaoxing')" class="hcty">绍兴</a> <a href="http://jinhua.cnlist.org/" OnClick="setcity('jinhua')">金华</a> <a href="http://quzhou.cnlist.org/" OnClick="setcity('quzhou')">衢州</a> <a href="http://zhoushan.cnlist.org/" OnClick="setcity('zhoushan')">舟山</a> <a href="http://taizhou.cnlist.org/" OnClick="setcity('taizhou')">台州</a> <a href="http://lishui.cnlist.org/" OnClick="setcity('lishui')">丽水</a> </td></tr><tr><td class=ctp>安徽</td><td class=ct><a href="http://hefei.cnlist.org/" OnClick="setcity('hefei')" class="hcty">合肥</a> <a href="http://wuhu.cnlist.org/" OnClick="setcity('wuhu')">芜湖</a> <a href="http://bengbu.cnlist.org/" OnClick="setcity('bengbu')">蚌端口</a> <a href="http://huainan.cnlist.org/" OnClick="setcity('huainan')">淮南</a> <a href="http://maanshan.cnlist.org/" OnClick="setcity('maanshan')">马鞍山</a> <a href="http://huaibei.cnlist.org/" OnClick="setcity('huaibei')">淮北</a> <a href="http://tongling.cnlist.org/" OnClick="setcity('tongling')">铜陵</a> <a href="http://anqing.cnlist.org/" OnClick="setcity('anqing')">安庆</a> <a href="http://huangshan.cnlist.org/" OnClick="setcity('huangshan')">黄山</a> <a href="http://chuzhou.cnlist.org/" OnClick="setcity('chuzhou')">滁州</a> <a href="http://fuyang.cnlist.org/" OnClick="setcity('fuyang')">阜阳</a> <a href="http://suzh.cnlist.org/" OnClick="setcity('suzh')">宿州</a> <a href="http://chaohu.cnlist.org/" OnClick="setcity('chaohu')">巢湖</a> <a href="http://luan.cnlist.org/" OnClick="setcity('luan')">六安</a> <a href="http://bozhou.cnlist.org/" OnClick="setcity('bozhou')">亳州</a> <a href="http://chizhou.cnlist.org/" OnClick="setcity('chizhou')">池州</a> <a href="http://xuancheng.cnlist.org/" OnClick="setcity('xuancheng')">宣城</a> </td></tr><tr><td class=ctp>福建</td><td class=ct><a href="http://fuzhou.cnlist.org/" OnClick="setcity('fuzhou')" class="hcty">福州</a> <a href="http://xiamen.cnlist.org/" OnClick="setcity('xiamen')">厦门</a> <a href="http://putian.cnlist.org/" OnClick="setcity('putian')">莆田</a> <a href="http://sanming.cnlist.org/" OnClick="setcity('sanming')">三明</a> <a href="http://quanzhou.cnlist.org/" OnClick="setcity('quanzhou')" class="hcty">泉州</a> <a href="http://zhangzhou.cnlist.org/" OnClick="setcity('zhangzhou')">漳州</a> <a href="http://nanping.cnlist.org/" OnClick="setcity('nanping')">南平</a> <a href="http://longyan.cnlist.org/" OnClick="setcity('longyan')">龙岩</a> <a href="http://ningde.cnlist.org/" OnClick="setcity('ningde')">宁德</a> </td></tr><tr><td class=ctp>江西</td><td class=ct><a href="http://nanchang.cnlist.org/" OnClick="setcity('nanchang')" class="hcty">南昌</a> <a href="http://jingdezhen.cnlist.org/" OnClick="setcity('jingdezhen')">景德镇</a> <a href="http://pingxiang.cnlist.org/" OnClick="setcity('pingxiang')">萍乡</a> <a href="http://jiujiang.cnlist.org/" OnClick="setcity('jiujiang')">九江</a> <a href="http://xinyu.cnlist.org/" OnClick="setcity('xinyu')">新余</a> <a href="http://yingtan.cnlist.org/" OnClick="setcity('yingtan')">鹰潭</a> <a href="http://ganzhou.cnlist.org/" OnClick="setcity('ganzhou')">赣州</a> <a href="http://jian.cnlist.org/" OnClick="setcity('jian')">吉安</a> <a href="http://yich.cnlist.org/" OnClick="setcity('yich')">宜春</a> <a href="http://fuzh.cnlist.org/" OnClick="setcity('fuzh')">抚州</a> <a href="http://shangrao.cnlist.org/" OnClick="setcity('shangrao')">上饶</a> </td></tr><tr><td class=ctp>山东</td><td class=ct><a href="http://jinan.cnlist.org/" OnClick="setcity('jinan')" class="hcty">济南</a> <a href="http://qing.cnlist.org/" OnClick="setcity('qing')" class="hcty">青岛</a> <a href="http://zibo.cnlist.org/" OnClick="setcity('zibo')">淄博</a> <a href="http://zaozhuang.cnlist.org/" OnClick="setcity('zaozhuang')">枣庄</a> <a href="http://dongying.cnlist.org/" OnClick="setcity('dongying')">东营</a> <a href="http://yantai.cnlist.org/" OnClick="setcity('yantai')" class="hcty">烟台</a> <a href="http://weifang.cnlist.org/" OnClick="setcity('weifang')" class="hcty">潍坊</a> <a href="http://jining.cnlist.org/" OnClick="setcity('jining')">济宁</a> <a href="http://taian.cnlist.org/" OnClick="setcity('taian')">泰安</a> <a href="http://weihai.cnlist.org/" OnClick="setcity('weihai')">威海</a> <a href="http://rizhao.cnlist.org/" OnClick="setcity('rizhao')">日照</a> <a href="http://laiwu.cnlist.org/" OnClick="setcity('laiwu')">莱芜</a> <a href="http://linyi.cnlist.org/" OnClick="setcity('linyi')">临沂</a> <a href="http://dezhou.cnlist.org/" OnClick="setcity('dezhou')">德州</a> <a href="http://liaocheng.cnlist.org/" OnClick="setcity('liaocheng')">聊城</a> <a href="http://binzhou.cnlist.org/" OnClick="setcity('binzhou')">滨州</a> <a href="http://heze.cnlist.org/" OnClick="setcity('heze')">菏泽</a> </td></tr><tr><td class=ctp>河南</td><td class=ct><a href="http://zhengzhou.cnlist.org/"
⑧ javascript实现二级联动,比如连个下拉列表,一个选择省份,另一个自动出现相应城市
<script language=vbScript>
<!--
public x(33)
x( 0 )="东城,西城,崇文,宣武,朝阳,丰台,石景山,海淀,门头沟,房山,通州,顺义,昌平,大兴,平谷,怀柔,密云,延庆"
x( 1 )="黄浦,卢湾,徐汇,长宁,静安,普陀,闸北,虹口,杨浦,闵行,宝山,嘉定,浦东,金山,松江,青浦,南汇,奉贤,崇明"
x( 2 )="和平,东丽,河东,西青,河西,津南,南开,北辰,河北,武清,红挢,塘沽,汉沽,大港,宁河,静海,宝坻,蓟县"
x( 3 )="万州,涪陵,渝中,大渡口,江北,沙坪坝,九龙坡,南岸,北碚,万盛,双挢,渝北,巴南,黔江,长寿,綦江,潼南,铜梁,大足,荣昌,壁山,梁平,城口,丰都,垫江,武隆,忠县,开县,云阳,奉节,巫山,巫溪,石柱,秀山,酉阳,彭水,江津,合川,永川,南川"
x( 4 )="石家庄,邯郸,邢台,保定,张家口,承德,廊坊,唐山,秦皇岛,沧州,衡水"
x( 5 )="太原,大同,阳泉,长治,晋城,朔州,吕梁,忻州,晋中,临汾,运城"
x( 6 )="呼和浩特,包头,乌海,赤峰,呼伦贝尔盟,阿拉善盟,哲里木盟,兴安盟,乌兰察布盟,锡林郭勒盟,巴彦淖尔盟,伊克昭盟"
x( 7 )="沈阳,大连,鞍山,抚顺,本溪,丹东,锦州,营口,阜新,辽阳,盘锦,铁岭,朝阳,葫芦岛"
x( 8 )="长春,吉林,四平,辽源,通化,白山,松原,白城,延边"
x( 9 )="哈尔滨,齐齐哈尔,牡丹江,佳木斯,大庆,绥化,鹤岗,鸡西,黑河,双鸭山,伊春,七台河,大兴安岭"
x( 10 )="南京,镇江,苏州,南通,扬州,盐城,徐州,连云港,常州,无锡,宿迁,泰州,淮安"
x( 11 )="杭州,宁波,温州,嘉兴,湖州,绍兴,金华,衢州,舟山,台州,丽水"
x( 12 )="合肥,芜湖,蚌端口,马鞍山,淮北,铜陵,安庆,黄山,滁州,宿州,池州,淮南,巢湖,阜阳,六安,宣城,亳州"
x( 13 )="福州,厦门,莆田,三明,泉州,漳州,南平,龙岩,宁德"
x( 14 )="南昌市,景德镇,九江,鹰潭,萍乡,新馀,赣州,吉安,宜春,抚州,上饶"
x( 15 )="济南,青岛,淄博,枣庄,东营,烟台,潍坊,济宁,泰安,威海,日照,莱芜,临沂,德州,聊城,滨州,菏泽"
x( 16 )="郑州,开封,洛阳,平顶山,安阳,鹤壁,新乡,焦作,濮阳,许昌,漯河,三门峡,南阳,商丘,信阳,周口,驻马店,济源"
x( 17 )="武汉,宜昌,荆州,襄樊,黄石,荆门,黄冈,十堰,恩施,潜江,天门,仙桃,随州,咸宁,孝感,鄂州"
x( 18 )="长沙,常德,株洲,湘潭,衡阳,岳阳,邵阳,益阳,娄底,怀化,郴州,永州,湘西,张家界"
x( 19 )="广州,深圳,珠海,汕头,东莞,中山,佛山,韶关,江门,湛江,茂名,肇庆,惠州,梅州,汕尾,河源,阳江,清远,潮州,揭阳,云浮"
x( 20 )="南宁,柳州,桂林,梧州,北海,防城港,钦州,贵港,玉林,南宁地区,柳州地区,贺州,百色,河池"
x( 21 )="海口,三亚"
x( 22 )="成都,绵阳,德阳,自贡,攀枝花,广元,内江,乐山,南充,宜宾,广安,达川,雅安,眉山,甘孜,凉山,泸州"
x( 23 )="贵阳,六盘水,遵义,安顺,铜仁,黔西南,毕节,黔东南,黔南"
x( 24 )="昆明,大理,曲靖,玉溪,昭通,楚雄,红河,文山,思茅,西双版纳,保山,德宏,丽江,怒江,迪庆,临沧"
x( 25 )="拉萨,日喀则,山南,林芝,昌都,阿里,那曲"
x( 26 )="西安,宝鸡,咸阳,铜川,渭南,延安,榆林,汉中,安康,商洛"
x( 27 )="兰州,嘉峪关,金昌,白银,天水,酒泉,张掖,武威,定西,陇南,平凉,庆阳,临夏,甘南"
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 >内蒙古</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
⑨ 求全国邮政编码,电话区号查询c或c++程序源码。
北 京 市
地 区 邮政编码 地 区 邮政编码
北京市 100000 通州区 101100
平谷县 101200 顺义县 101300
怀柔县 101400 密云县 101500
延庆县 102100 昌平县 102200
门头沟区 102300 房山区 102400
大兴县 102600
上 海 市
地 区 邮政编码 地 区 邮政编码
上海市 200000 上海近郊区 200100
闵行区 201100 浦东新区 200120
南汇县 201300 奉贤县 201400
金山县 201500 松江县 201600
青浦县 201700 嘉定县 201800
宝山县 201900 崇明县 202150
天 津 市
地 区 邮政编码 地 区 邮政编码
天津市 300000 塘沽区 300450
汉沽区 300480 宁河县 301500
静海县 301600 武清县 301700
宝坻县 301800 蓟县 301900
重 庆 市
地 区 邮政编码 地 区 邮政编码
重庆市 400000 北碚区 400700
南桐矿区 400800 双桥区 400900
渝北区 401120 巴南区 401320
万县市 404000 涪陵市 408000
内 蒙 古
地 区 邮政编码 地 区 邮政编码
呼和浩特市 010000 集宁市 012000
二连浩特市 012600 包头市 014000
临河市 015000 乌海市 016000
东胜市 017000 海拉尔市 021000
满洲里市 021400 牙克石市 022150
赤峰市 024000 锡林浩特市 026000
通辽市 028000 霍林郭勒市 029200
乌兰浩特市 137400 扎兰屯市 162650
山 西 省
地 区 邮政编码 地 区 邮政编码
太原市 030000 古交市 030200
榆次市 030600 忻州市 034000
大同市 037000 朔州市 038500
临汾市 041000 侯马市 043000
运城市 044000 阳泉市 045000
长治市 046000 晋城市 048000
河 北 省
地 区 邮政编码 地 区 邮政编码
石家庄市 050000 南宫市 055750
辛集市 052360 衡水市 053000
邢台市 054000 沙河市 054100
邯郸市 056000 武安市 056300
沧州市 061000 泊头市 062150
任丘市 062550 唐山市 063000
廊坊市 065000 秦皇岛市 066000
北戴河 066100 承德市 067000
保定市 071000 涿州市 072750
定州市 073000 高碑店市 074000
张家口市 075000
辽 宁 省
地 区 邮政编码 地 区 邮政编码
沈阳市 110000 辽阳市 111000
铁岭市 112000 开原市 112300
铁法市 112700 抚顺市 113000
鞍山市 114000 海城市 114200
营口市 115000 大连市 116000
瓦房店市 116300 本溪市 117000
丹东市 118000 锦州市 121000
凌海市 121200 北宁市 121300
葫芦岛市 125000 兴城市 125100
朝阳市 122000 北票市 122100
阜新市 123000 盘锦市 124000
吉 林 省
地 区 邮政编码 地 区 邮政编码
长春市 130000 九台市 130500
扶余市 131200 大安市 131300
吉林市 132000 桦甸市 132400
延吉市 133000 图们市 133100
珲春市 133300 龙井市 133400
敦化市 133700 通化市 134000
集安市 134200 浑江市 134300
临江市 134600 梅河口市 135000
四平市 136000 公主岭市 136100
辽源市 136200 白城市 137000
洮南市 137100 松原市 138000
黑 龙 江 省
地 区 邮政编码 地 区 邮政编码
哈尔滨市 150000 双城市 150100
阿城市 150300 尚志市 150600
肇东市 151100 安达市 151400
绥化市 152000 铁力市 152500
伊春市 153000 佳木斯市 154000
鹤岗市 154100 七台河市 154600
双鸭山市 155100 富锦市 156100
同江市 156400 牡丹江市 157000
绥芬河市 157300 鸡西市 158100
密山市 158300 齐齐哈尔市 161000
大庆市 163000 北安市 164000
黑河市 164300 五大连池市 164100
江 苏 省
地 区 邮政编码 地 区 邮政编码
南京市 210000 仪征市 211400
镇江市 212000 丹阳市 212300
常州市 213000 无锡市 214000
宜兴市 214200 江阴市 214400
苏州市 215000 昆山市 215300
常熟市 215500 张家港市 215600
徐州市 221000 连云港市 222000
淮阴市 223000 淮安市 223200
宿迁市 223800 盐城市 224000
东台市 224200 扬州市 225000
泰州市 225300 兴化市 225700
南通市 226000
安 徽 省
地 区 邮政编码 地 区 邮政编码
合肥市 230000 淮南市 232000
蚌端口市 233000 宿州市 234000
淮北市 235000 阜阳市 236000
亳州市 236800 六安市 237000
巢湖市 238000 滁州市 239000
芜湖市 241000 宣州市 242000
黄山区 242700 马鞍山市 243000
铜陵市 244000 黄山市 245000
安庆市 246000 贵池市 247100
山 东 省
地 区 邮政编码 地 区 邮政编码
济南市 250000 聊城市 252000
临清市 252600 德州市 253000
乐陵市 253600 淄博市 255000
滨州市 256600 东营市 257000
潍坊市 261000 莱州市 261400
诸城市 262200 青州市 262500
烟台市 264000 威海市 264200
荣成市 264300 文登市 264400
莱阳市 265200 龙口市 265700
青岛市 266000 胶州市 266300
泰安市 271000 莱芜市 271100
新泰市 271200 济宁市 272100
曲阜市 273100 荷泽市 274000
临沂市 276000 日照市 276800
枣庄市 277100 滕州市 277500
浙 江 省
地 区 邮政编码 地 区 邮政编码
杭州市 310000 萧山市 311200
绍兴市 312000 湖州市 313000
嘉兴市 314000 宁波市 315000
慈溪市 315300 余姚市 315400
奉化市 315500 舟山市 316000
临海市 317000 椒江市 317700
台州市 318000 金华市 321000
兰溪市 321100 义乌市 322000
东阳市 322100 丽水市 323000
衢州市 324000 温州市 325000
瑞安市 325200
江 西 省
地 区 邮政编码 地 区 邮政编码
南昌市 330000 丰城市 331100
樟树市 331200 九江市 332000
景德镇市 333000 上饶市 334000
鹰潭市 335000 宜春市 336000
新余市 336500 萍乡市 337000
赣州市 341000 吉安市 343000
井冈山市 343600 抚州地区 344000
临川市 344100
福 建 省
地 区 邮政编码 地 区 邮政编码
福州市 350000 莆田市 351100
宁德市 352100 南平市 353000
邵武市 354000 厦门市 361000
泉州市 362000 石狮市 362700
漳州市 363000 龙岩市 364000
三明市 365000 永安市 366000
湖 南 省
地 区 邮政编码 地 区 邮政编码
长沙市 410000 湘潭市 411100
湘乡市 411400 株洲市 412000
醴陵市 412200 益阳市 413000
沅江市 413100 岳阳市 414000
汨罗市 414400 常德市 415000
津市市 415400 吉首市 416000
大庸市 416600 娄底市 417000
涟源市 417100 冷水江市 417500
怀化市 418000 洪江市 418200
衡阳市 421000 邵阳市 422000
郴州市 423000 资兴市 423400
永州市 425000 冷水滩市 425100
张家界市 427000
湖 北 省
地 区 邮政编码 地 区 邮政编码
武汉市 430000 麻城市 431600
天门市 431700 孝感市 432100
应城市 432400 安陆市 432600
广水市 432700 仙桃市 433000
潜江市 433100 洪湖市 433200
沙市市 434000 荆州市 434100
石首市 434400 荆门市 448000
黄石市 435000 鄂州市 436000
武穴市 436400 咸宁市 437000
蒲圻市 437300 襄樊市 441000
枣阳市 441200 随州市 441300
老河口市 441800 丹江口市 441900
十堰市 442000 宜昌市 443000
枝城市 443300 当阳市 444100
恩施市 445000 利川市 445400
河 南 省
地 区 邮政编码 地 区 邮政编码
郑州市 450000 禹州市 461670
新乡市 453000 卫辉市 453100
辉县市 453600 焦作市 454000
济源市 454650 安阳市 455000
林州市 456500 鹤壁市 458000
濮阳市 457000 许昌市 461000
漯河市 462000 驻马店地区 463000
信阳市 464000 周口地区 466000
平顶山市 467000 汝州市 467500
洛阳市 471000 三门峡市 472000
义马市 472300 南阳市 473000
邓州市 474150 开封市 475000
商丘市 476000
广 东 省
地 区 邮政编码 地 区 邮政编码
广州市 510000 清远市 511500
东莞市 511700 韶关市 512000
梅州市 514000 汕头市 515000
潮州市 521000 惠州市 516000
汕尾市 516600 河源市 517000
深圳市 518000 珠海市 519000
湛江市 524000 茂名市 525000
肇庆市 526000 佛山市 528000
中山市 528400 江门市 529000
海 南 省
地 区 邮政编码 地 区 邮政编码
海口市 570000 琼山市 571100
文昌市 571300 琼海市 571400
万宁市 571500 儋州市 571700
三亚市 572000 通什市 572200
西南中沙群岛 573100
广 西
地 区 邮政编码 地 区 邮政编码
南宁市 530000 凭祥市 532600
百色市 533000 钦州市 535000
北海市 536000 玉林市 537000
贵港市 537100 防城港市 538000
东兴市 538100 桂林市 541000
梧州市 543000 柳州市 545000
合山市 546500 河池市 547000
贵 州 省
地 区 邮政编码 地 区 邮政编码
贵阳市 550000 六盘水市 553000
铜仁市 554300 凯里市 556000
都匀市 558000 安顺市 561000
兴义市 562400 遵义市 563000
四 川 省
地 区 邮政编码 地 区 邮政编码
成都市 610000 都江堰市 611830
乐山市 614000 峨眉山市 614200
西昌市 615000 攀枝花市 617000
德阳市 618000 绵阳市 621000
雅安市 625000 广元市 628000
遂宁市 629000 达县市 635000
南充市 637000 华蓥市 638650
内江市 641000 自贡市 643000
宜宾市 644000 泸州市 646000
云 南 省
地 区 邮政编码 地 区 邮政编码
昆明市 650000 玉溪市 653100
东川市 654100 曲靖市 655000
照通市 657000 开远市 661000
个旧市 661400 大理市 671000
楚雄市 675000 保山市 678000
畹町市 678500
陕 西 省
地 区 邮政编码 地 区 邮政编码
西安市 710000 咸阳市 712000
渭南市 714000 韩城市 715400
延安市 716000 榆林市 719000
宝鸡市 721000 汉中市 723000
安康市 725000 商州市 726000
铜川市 727000
甘 肃 省
地 区 邮政编码 地 区 邮政编码
兰州市 730000 白银市 730900
临夏市 731100 武威市 733000
张掖市 734000 酒泉市 735000
嘉峪关市 735100 玉门市 735200
敦煌市 736200 金昌市 737100
天水市 741000 平凉市 744000
西峰市 745000
宁 夏
地 区 邮政编码 地 区 邮政编码
银川市 750000 吴忠市 751100
青铜峡市 751600 石咀山市 753000
青 海 省
地 区 邮政编码 地 区 邮政编码
西宁市 810000 格尔木市 816000
德令哈市 817000
新 疆
地 区 邮政编码 地 区 邮政编码
乌鲁木齐市 830000 昌吉市 831100
石河子市 832000 奎屯市 833200
博乐市 833400 克拉玛依市 834000
塔城市 834700 伊宁市 835000
阿勒泰市 836500 吐鲁番市 838000
哈密市 839000 库尔勒市 841000
阿克苏市 843000 喀什市 844000
阿图什市 845350 和田市 848000
西 藏
地 区 邮政编码 地 区 邮政编码
拉萨市 850000 日喀则市 857000