- 浏览: 566159 次
- 性别:
- 来自: 济南
文章分类
最新评论
-
mr_xiaoyu:
最终会调用到ScheduledFutureTask#run() ...
ScheduledThreadPoolExecutor -
csmnjk:
谢谢分享!
SSH + Lucene + 分页 + 排序 + 高亮 模拟简单新闻网站搜索引擎 -
qsword555:
public static void main(String ...
ScheduledThreadPoolExecutor -
yun900800:
我的也是就抛了一次异常
ScheduledThreadPoolExecutor -
bjfuzh:
bjfuzh 写道我自己跑了下,那个抛异常的定时器,只执行了一 ...
ScheduledThreadPoolExecutor
演员选择框三级联动(原生javascript和jquery实现)
使用Jquery做成选择演员选择框的三级联动效果。代码如下,测试可以下载附件。
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> var t0 = "内地女演员,内地男演员,港台女演员,港台男演员,内地女歌手,内地男歌手,港台女歌手,港台男歌手,舞蹈演员,曲艺演员,戏剧演员,导演,主持人,新人"; var t0_0 = "C,D,F,G,H,J,L,M,N,Q,S,T,W,X,Y,Z"; var t0_0_0 = "陈小艺,陈好,陈数,陈冲,蔡明"; var t0_0_1 = "董洁,邓婕"; var t0_0_2 = "范冰冰"; var t0_0_3 = "高圆圆,巩俐"; var t0_0_4 = "何琳,黄奕,黄圣依,韩雪,何赛飞"; var t0_0_5 = "蒋勤勤,蒋雯丽,金巧巧"; var t0_0_6 = "李小冉,刘晓庆,刘亦菲,刘孜,吕丽萍,李冰冰,李小璐"; var t0_0_7 = "马伊利,梅婷,苗圃"; var t0_0_8 = "宁静,牛莉,倪虹洁,倪萍"; var t0_0_9 = "秦岚,秦海璐"; var t0_0_10 = "舒畅,孙俪,沈傲君,宋佳(小),孙菲菲,斯琴高娃,萨日娜,宋丹丹"; var t0_0_11 = "陶红,陶虹(小),童蕾"; var t0_0_12 = "王姬,王茜,王雅捷"; var t0_0_13 = "奚美娟,徐帆,徐静蕾,许晴,薛佳凝"; var t0_0_14 = "杨若兮,杨童舒,袁立,袁泉,闫妮,颜丙燕,余男,姚晨,殷桃,原华"; var t0_0_15 = "曾黎,张静初,章子怡,赵薇,周迅,朱媛媛,左小青,赵子琪(原名赵琳),张嘉倪"; var t0_1 = "B,C,D,F,G,H,J,L,M,N,P,R,S,T,W,X,Y,Z"; var t0_1_0 = "保剑锋"; var t0_1_1 = "陈宝国,陈道明,陈坤,陈建斌"; var t0_1_2 = "邓超,段奕宏,杜淳"; var t0_1_3 = "冯远征,富大龙,范伟"; var t0_1_4 = "葛优,郭涛,耿乐"; var t0_1_5 = "胡军,黄海冰,黄晓明,黄磊,黄觉,黄渤,黄海波,胡歌,侯勇"; var t0_1_6 = "贾一平,姜武"; var t0_1_7 = "李连杰,李雪健,李幼斌,刘威,刘烨,柳云龙,李保田,六小龄童,陆毅,李亚鹏,梁冠华,刘佩琦,林永健,李成儒"; var t0_1_8 = "马跃"; var t0_1_9 = "聂远"; var t0_1_10 = "潘粤明,濮存昕"; var t0_1_11 = "任程伟"; var t0_1_12 = "沙溢,孙红雷,孙海英,孙淳"; var t0_1_13 = "佟大为,唐国强,陶泽如"; var t0_1_14 = "王学兵,王志文,王刚,王新军,巫刚"; var t0_1_15 = "徐峥,夏雨"; var t0_1_16 = "尤勇,杨立新,严宽,于小伟"; var t0_1_17 = "张丰毅,张国立,张铁林,张涵予,张国强,赵毅,周杰,赵本山"; var t0_2 = "A,C,D,G,H,J,L,S,T,W,X,Y,Z"; var t0_2_0 = "安以轩"; var t0_2_1 = "蔡卓妍,陈乔恩"; var t0_2_2 = "邓萃雯"; var t0_2_3 = "归亚蕾,郭可盈,官恩娜,桂纶镁"; var t0_2_4 = "胡杏儿"; var t0_2_5 = "贾静雯"; var t0_2_6 = "黎姿,林熙蕾,林心如,李嘉欣,刘嘉玲,梁洛施,林嘉欣,廖碧儿"; var t0_2_7 = "舒淇,佘诗曼"; var t0_2_8 = "滕丽名"; var t0_2_9 = "王思懿"; var t0_2_10 = "薛凯琪,徐熙媛,徐若?,徐子珊,宣萱"; var t0_2_11 = "叶璇,应采儿,袁咏仪,伊能静,杨恭如"; var t0_2_12 = "张曼玉,张柏芝,赵雅芝,钟欣桐,郑秀文,朱茵,周慧敏,周丽淇,钟嘉欣,钟丽缇,周海媚"; var t0_3 = "C,D,F,G,H,J,L,M,O,R,S,T,W,X,Y,Z"; var t0_3_0 = "成龙,陈浩民,陈豪,陈小春,陈冠希"; var t0_3_1 = "杜汶泽"; var t0_3_2 = "方中信"; var t0_3_3 = "古天乐,郭富城"; var t0_3_4 = "黄维德,黄宗泽,贺军翔,黄秋生,霍建华,何润东"; var t0_3_5 = "金城武,焦恩俊"; var t0_3_6 = "林志颖,梁朝伟,林保怡,刘德华,林峰,林子聪,黎明,刘青云,梁家辉,罗家英"; var t0_3_7 = "马浚伟,明道,马景涛"; var t0_3_8 = "欧阳震华"; var t0_3_9 = "任达华,任贤齐,阮经天"; var t0_3_10 = "苏有朋"; var t0_3_11 = "谭耀文"; var t0_3_12 = "吴彦祖,吴镇宇,吴卓羲,王绍伟,吴奇隆,吴尊"; var t0_3_13 = "徐少强,谢霆锋,许绍洋"; var t0_3_14 = "余文乐,言承旭"; var t0_3_15 = "曾志伟,张智霖,张震,郑元畅,郑少秋,周润发,周星驰,甄子丹,周渝民,钟汉良,郑伊健,郑中基"; var t0_4 = "A,B,C,H,J,L,M,N,S,T,W,Z"; var t0_4_0 = "阿朵,爱戴"; var t0_4_1 = "白雪"; var t0_4_2 = "陈琳,陈思思"; var t0_4_3 = "韩红,何洁"; var t0_4_4 = "金海心"; var t0_4_5 = "李慧珍,李宇春,吕薇"; var t0_4_6 = "毛阿敏,梦鸽,麦穗"; var t0_4_7 = "那英"; var t0_4_8 = "斯琴格日乐,宋祖英,孙悦"; var t0_4_9 = "谭晶,汤灿"; var t0_4_10 = "王蓉,韦唯"; var t0_4_11 = "张靓颖,周笔畅,朱哲琴,曾格格,祖海"; var t0_5 = "A,C,D,F,G,H,L,M,P,S,T,W,X,Y,Z"; var t0_5_0 = "阿宝"; var t0_5_1 = "崔建"; var t0_5_2 = "戴玉强,刀郎"; var t0_5_3 = "冯晓泉"; var t0_5_4 = "郭峰"; var t0_5_5 = "黄征,韩磊,胡彦斌"; var t0_5_6 = "林依伦,罗中旭,刘欢"; var t0_5_7 = "满文军"; var t0_5_8 = "朴树,庞龙"; var t0_5_9 = "孙楠"; var t0_5_10 = "腾格尔,屠洪刚"; var t0_5_11 = "汪峰"; var t0_5_12 = "许巍,小柯"; var t0_5_13 = "阎维文,杨坤,杨臣刚,羽?泉"; var t0_5_14 = "郑钧,张敬轩,郑源,臧天朔"; var t0_6 = "C,F,H,L,M,Q,R,S,W,X,Y,Z"; var t0_6_0 = "蔡健雅,蔡琴,蔡依林,陈慧琳,陈绮贞"; var t0_6_1 = "范玮琪"; var t0_6_2 = "黄伊汶,何韵诗"; var t0_6_3 = "李玟,梁咏琪,刘若英,梁静茹,林忆莲"; var t0_6_4 = "莫文蔚"; var t0_6_5 = "齐豫"; var t0_6_6 = "容祖儿"; var t0_6_7 = "孙燕姿,S.H.E"; var t0_6_8 = "王菲,王心凌,王若琳"; var t0_6_9 = "萧亚轩,许慧欣"; var t0_6_10 = "杨丞琳,杨千?"; var t0_6_11 = "张韶涵,张惠妹"; var t0_7 = "A,C,F,G,H,L,P,Q,T,W,Y,Z"; var t0_7_0 = "阿杜,阿信"; var t0_7_1 = "陈奕迅,侧田"; var t0_7_2 = "费玉清,飞轮海"; var t0_7_3 = "古巨基,光良"; var t0_7_4 = "黄立行"; var t0_7_5 = "林俊杰,罗志祥,罗大佑"; var t0_7_6 = "潘玮柏,品冠"; var t0_7_7 = "齐秦"; var t0_7_8 = "陶?"; var t0_7_9 = "王力宏,巫启贤,吴健豪,吴克群,五月天"; var t0_7_10 = "杨宗纬"; var t0_7_11 = "张信哲,张学友,周华健,周杰伦,周传雄,张栋梁,张震岳"; var t0_8 = "D,H,J,L,M,S,T,X,Y,Z"; var t0_8_0 = "刀美兰"; var t0_8_1 = "黄豆豆"; var t0_8_2 = "季萍萍,金星"; var t0_8_3 = "吕萌,罗君,刘岩"; var t0_8_4 = "马秋萍"; var t0_8_5 = "山?,孙杰"; var t0_8_6 = "谭元元,汤加丽,邰丽华"; var t0_8_7 = "虾嘎"; var t0_8_8 = "杨丽萍,杨扬,殷硕"; var t0_8_9 = "朱妍,张剑"; var t0_9 = "C,D,F,G,H,L,N,P,S,T,W,Y,Z"; var t0_9_0 = "陈佩斯"; var t0_9_1 = "大兵"; var t0_9_2 = "冯巩"; var t0_9_3 = "郭德纲,巩汉林,郭达,郭冬临,郭秋林(山东快书)"; var t0_9_4 = "黄宏,侯耀华"; var t0_9_5 = "李琦,李金斗"; var t0_9_6 = "牛群"; var t0_9_7 = "潘长江"; var t0_9_8 = "单田芳"; var t0_9_9 = "唐杰忠,田连元"; var t0_9_10 = "魏积安,王莉(京韵大鼓),王淑玲(梅花大鼓)"; var t0_9_11 = "袁阔成,闫学晶(二人转)"; var t0_9_12 = "朱时茂,周炜,张文泽,张秋萍(京韵大鼓),张建珍(苏州评弹),张文甫(快板)"; var t0_10 = "C,D,H,J,L,M,S,T,W,X,Y,Z"; var t0_10_0 = "常秋月,蔡正仁(昆剧),迟小秋"; var t0_10_1 = "杜镇杰"; var t0_10_2 = "胡文阁,胡娉,韩再芬,何超(桂剧),史依弘(京剧)"; var t0_10_3 = "蒋建国,蒋文端(粤剧)"; var t0_10_4 = "李胜素,李娟,林为林,栗桂莲,李桂英(锡剧),李佩红(京),李政成(扬剧),李金枝(豫剧)"; var t0_10_5 = "马兰,茅威涛(越剧),马友仙(秦腔)"; var t0_10_6 = "舒锦霞,孙存蝶"; var t0_10_7 = "谭建勋,陶慧敏"; var t0_10_8 = "王蓉蓉,王珍如,王?瑜,汪世瑜,王书龙(淮剧)"; var t0_10_9 = "谢涛(晋剧),许荷英(河北梆子)"; var t0_10_10 = "叶少兰,于魁智,岳美缇"; var t0_10_11 = "张火丁,张志红,张琳,曾昭娟,赵殊珠,周源源,郑桂芳(评剧),袁慧琴(京),张静娴(昆剧),张铭荣(昆剧)"; var t0_11 = "C,D,F,G,H,J,K,L,M,N,T,W,X,Y,Z"; var t0_11_0 = "陈凯歌,陈可辛,陈嘉上"; var t0_11_1 = "杜琪峰,董志强"; var t0_11_2 = "冯小刚,冯小宁"; var t0_11_3 = "高希希,管虎,顾长卫,关锦鹏"; var t0_11_4 = "何平,胡玫,黄健中,阚卫平"; var t0_11_5 = "姜文"; var t0_11_6 = "孔笙,康红雷"; var t0_11_7 = "李安,陆川,刘伟强,刘镇伟,李少红,李玉"; var t0_11_8 = "孟京辉,马俪文"; var t0_11_9 = "宁浩,赖声川"; var t0_11_10 = "田壮壮,田有良,滕华涛,唐季礼"; var t0_11_11 = "吴宇森,吴天明,王小帅,王家卫,王晶,王岳伦,吴子牛"; var t0_11_12 = "徐克,谢晋"; var t0_11_13 = "尤小刚,杨亚洲"; var t0_11_14 = "张艺谋,张元,贾樟柯,张建亚,张建栋,庄宇新,赵宝刚,张艾嘉"; var t0_12 = "A,B,C,D,F,G,H,J,K,L,N,O,S,W,X,Y,Z"; var t0_12_0 = "阿丘(邱孟煌),敖峥嵘"; var t0_12_1 = "毕福剑,白岩松"; var t0_12_2 = "曹景行,崔永元,曹可凡,陈鲁豫,陈蔚波"; var t0_12_3 = "窦文涛,戴军,董路,董卿"; var t0_12_4 = "方宏进,方琼"; var t0_12_5 = "高博,高潮东,郭红梅,高越男"; var t0_12_6 = "胡瓜,黄安,韩乔生,何炅,候佩岑,海霞,胡红梅,韩娇,霍斌"; var t0_12_7 = "敬一丹,金霞,金燕"; var t0_12_8 = "康辉,寇乃馨,柯蓝,孔杰"; var t0_12_9 = "李咏,罗京,梁永斌,鲁健,刘建宏,郎永淳,骆新,刘仪伟,林海,李瑞英,李修平,李小萌,刘纯燕,李梓萌,李湘,李洁,林爽,刘玲华,李彦,刘文蓉,李源,蓝心湄"; var t0_12_10 = "聂一菁,宁远"; var t0_12_11 = "欧阳夏丹"; var t0_12_12 = "沈冰,宋力锦,孙妮娜,撒贝宁,孙正平,水均益,桑朝晖,史超"; var t0_12_13 = "吴宗宪,吴佩慈,吴小莉,王世林,王业,汪涵,文静,王小丫,王小骞,汪文华"; var t0_12_14 = "邢质斌,徐春妮,徐滔,向真,谢娜,许戈辉"; var t0_12_15 = "姚长盛,杨澜,应敏"; var t0_12_16 = "张宏民,张韶刚,张羽,朱军,赵普,张斌,周学,张泉灵,周洁,张璐 ,张璐,张莉,周静,朱丹"; var t0_13 = "A,B,C,D,F,G,H,J,L,M,N,P,S,T,W,X,Y,Z"; var t0_13_0 = "安雅,阿木"; var t0_13_1 = "白冰,班嘉佳,白歆惠"; var t0_13_2 = "陈意涵,陈紫函,陈曦,陈楚生,曹方,曹曦文,曹格,车永莉,车晓"; var t0_13_3 = "董璇,邓丽欣,窦智孔"; var t0_13_4 = "符馨尹,冯绍峰,房祖名,付辛博"; var t0_13_5 = "高云翔"; var t0_13_6 = "哈辉,何琢言,海鸣威,韩庚,何苗"; var t0_13_7 = "吉杰,蒋欣,景甜,井柏然,江一燕,金莎"; var t0_13_8 = "刘芸,李菲儿,李念,李玉刚,吕一,厉娜,李旭丹,林宥嘉,刘威葳,林妙可,吕玉来,林申,立威廉"; var t0_13_9 = "马天宇"; var t0_13_10 = "牛萌萌"; var t0_13_11 = "蒲巴甲,潘阳"; var t0_13_12 = "石爻,孙琳,沈佳妮,苏醒,沈鹤(小沈阳)"; var t0_13_13 = "童瑶,田原,唐一菲,涂松岩,谭维维,唐嫣,唐宁,汤唯,涂圣成"; var t0_13_14 = "吴樾,魏晨,武嘉辉,文章,王子文,王珞丹,王宝强"; var t0_13_15 = "徐菁遥,许飞,熊汝霖,萧敬腾,徐筠,谢婷婷,希亚"; var t0_13_16 = "姚笛,姚芊羽,杨程程,于小磊,杨紫,袁文康,袁弘,杨洋(男),晏菲"; var t0_13_17 = "张雨绮,郑欣宜,钟萱,邹宗胜,朱铁,张杰,朱亚文,周一围,张峻宁,张一山,扎西顿珠,张默,朱雨辰"; $(function() { var myselect1Array = t0.split(","); for(var i = 0 ; i < myselect1Array.length ; i++) { $("#myselect1").append("<option value='t0_" + i + "'>" + myselect1Array[i] + "</option>"); } $("#myselect1").change(function() { $("#myselect2").html("<option>请选择演员首字母</option>"); var myselect2Array = eval($(this).val()).split(","); for(var i = 0 ; i < myselect2Array.length ; i++) { $("#myselect2").append("<option value='" + $(this).val() + "_" + i + "'>" + myselect2Array[i] + "</option>"); } }); $("#myselect2").change(function() { $("#myselect3").html("<option>请选择具体演员</option>"); var myselect3Array = eval($(this).val()).split(","); for(var i = 0 ; i < myselect3Array.length ; i++) { $("#myselect3").append("<option value='" + myselect3Array[i] + "'>" + myselect3Array[i] + "</option>"); } }); }); </script> <style> select#myselect1,#myselect2,#myselect3 { width: 120px; } </style> </head> <body> <form method="post" action="getValue.jsp"> <select id="myselect1"> <option>请选择演员类型</option> </select> <select id="myselect2"> <option>请选择演员首字母</option> </select> <select id="myselect3" name = "actorName"> <option>请选择具体演员</option> </select> <br /> <button type="submit"/>提交</button> </form> </body> </html>
现在使用原生javascript重新实现。
<%@page contentType="text/html;charset=utf-8" pageEncoding="utf-8" %> <html> <head> <script type="text/javascript"> var t0 = "内地女演员,内地男演员,港台女演员,港台男演员,内地女歌手,内地男歌手,港台女歌手,港台男歌手,舞蹈演员,曲艺演员,戏剧演员,导演,主持人,新人"; var t0_0 = "C,D,F,G,H,J,L,M,N,Q,S,T,W,X,Y,Z"; var t0_0_0 = "陈小艺,陈好,陈数,陈冲,蔡明"; var t0_0_1 = "董洁,邓婕"; var t0_0_2 = "范冰冰"; var t0_0_3 = "高圆圆,巩俐"; var t0_0_4 = "何琳,黄奕,黄圣依,韩雪,何赛飞"; var t0_0_5 = "蒋勤勤,蒋雯丽,金巧巧"; var t0_0_6 = "李小冉,刘晓庆,刘亦菲,刘孜,吕丽萍,李冰冰,李小璐"; var t0_0_7 = "马伊利,梅婷,苗圃"; var t0_0_8 = "宁静,牛莉,倪虹洁,倪萍"; var t0_0_9 = "秦岚,秦海璐"; var t0_0_10 = "舒畅,孙俪,沈傲君,宋佳(小),孙菲菲,斯琴高娃,萨日娜,宋丹丹"; var t0_0_11 = "陶红,陶虹(小),童蕾"; var t0_0_12 = "王姬,王茜,王雅捷"; var t0_0_13 = "奚美娟,徐帆,徐静蕾,许晴,薛佳凝"; var t0_0_14 = "杨若兮,杨童舒,袁立,袁泉,闫妮,颜丙燕,余男,姚晨,殷桃,原华"; var t0_0_15 = "曾黎,张静初,章子怡,赵薇,周迅,朱媛媛,左小青,赵子琪(原名赵琳),张嘉倪"; var t0_1 = "B,C,D,F,G,H,J,L,M,N,P,R,S,T,W,X,Y,Z"; var t0_1_0 = "保剑锋"; var t0_1_1 = "陈宝国,陈道明,陈坤,陈建斌"; var t0_1_2 = "邓超,段奕宏,杜淳"; var t0_1_3 = "冯远征,富大龙,范伟"; var t0_1_4 = "葛优,郭涛,耿乐"; var t0_1_5 = "胡军,黄海冰,黄晓明,黄磊,黄觉,黄渤,黄海波,胡歌,侯勇"; var t0_1_6 = "贾一平,姜武"; var t0_1_7 = "李连杰,李雪健,李幼斌,刘威,刘烨,柳云龙,李保田,六小龄童,陆毅,李亚鹏,梁冠华,刘佩琦,林永健,李成儒"; var t0_1_8 = "马跃"; var t0_1_9 = "聂远"; var t0_1_10 = "潘粤明,濮存昕"; var t0_1_11 = "任程伟"; var t0_1_12 = "沙溢,孙红雷,孙海英,孙淳"; var t0_1_13 = "佟大为,唐国强,陶泽如"; var t0_1_14 = "王学兵,王志文,王刚,王新军,巫刚"; var t0_1_15 = "徐峥,夏雨"; var t0_1_16 = "尤勇,杨立新,严宽,于小伟"; var t0_1_17 = "张丰毅,张国立,张铁林,张涵予,张国强,赵毅,周杰,赵本山"; var t0_2 = "A,C,D,G,H,J,L,S,T,W,X,Y,Z"; var t0_2_0 = "安以轩"; var t0_2_1 = "蔡卓妍,陈乔恩"; var t0_2_2 = "邓萃雯"; var t0_2_3 = "归亚蕾,郭可盈,官恩娜,桂纶镁"; var t0_2_4 = "胡杏儿"; var t0_2_5 = "贾静雯"; var t0_2_6 = "黎姿,林熙蕾,林心如,李嘉欣,刘嘉玲,梁洛施,林嘉欣,廖碧儿"; var t0_2_7 = "舒淇,佘诗曼"; var t0_2_8 = "滕丽名"; var t0_2_9 = "王思懿"; var t0_2_10 = "薛凯琪,徐熙媛,徐若?,徐子珊,宣萱"; var t0_2_11 = "叶璇,应采儿,袁咏仪,伊能静,杨恭如"; var t0_2_12 = "张曼玉,张柏芝,赵雅芝,钟欣桐,郑秀文,朱茵,周慧敏,周丽淇,钟嘉欣,钟丽缇,周海媚"; var t0_3 = "C,D,F,G,H,J,L,M,O,R,S,T,W,X,Y,Z"; var t0_3_0 = "成龙,陈浩民,陈豪,陈小春,陈冠希"; var t0_3_1 = "杜汶泽"; var t0_3_2 = "方中信"; var t0_3_3 = "古天乐,郭富城"; var t0_3_4 = "黄维德,黄宗泽,贺军翔,黄秋生,霍建华,何润东"; var t0_3_5 = "金城武,焦恩俊"; var t0_3_6 = "林志颖,梁朝伟,林保怡,刘德华,林峰,林子聪,黎明,刘青云,梁家辉,罗家英"; var t0_3_7 = "马浚伟,明道,马景涛"; var t0_3_8 = "欧阳震华"; var t0_3_9 = "任达华,任贤齐,阮经天"; var t0_3_10 = "苏有朋"; var t0_3_11 = "谭耀文"; var t0_3_12 = "吴彦祖,吴镇宇,吴卓羲,王绍伟,吴奇隆,吴尊"; var t0_3_13 = "徐少强,谢霆锋,许绍洋"; var t0_3_14 = "余文乐,言承旭"; var t0_3_15 = "曾志伟,张智霖,张震,郑元畅,郑少秋,周润发,周星驰,甄子丹,周渝民,钟汉良,郑伊健,郑中基"; var t0_4 = "A,B,C,H,J,L,M,N,S,T,W,Z"; var t0_4_0 = "阿朵,爱戴"; var t0_4_1 = "白雪"; var t0_4_2 = "陈琳,陈思思"; var t0_4_3 = "韩红,何洁"; var t0_4_4 = "金海心"; var t0_4_5 = "李慧珍,李宇春,吕薇"; var t0_4_6 = "毛阿敏,梦鸽,麦穗"; var t0_4_7 = "那英"; var t0_4_8 = "斯琴格日乐,宋祖英,孙悦"; var t0_4_9 = "谭晶,汤灿"; var t0_4_10 = "王蓉,韦唯"; var t0_4_11 = "张靓颖,周笔畅,朱哲琴,曾格格,祖海"; var t0_5 = "A,C,D,F,G,H,L,M,P,S,T,W,X,Y,Z"; var t0_5_0 = "阿宝"; var t0_5_1 = "崔建"; var t0_5_2 = "戴玉强,刀郎"; var t0_5_3 = "冯晓泉"; var t0_5_4 = "郭峰"; var t0_5_5 = "黄征,韩磊,胡彦斌"; var t0_5_6 = "林依伦,罗中旭,刘欢"; var t0_5_7 = "满文军"; var t0_5_8 = "朴树,庞龙"; var t0_5_9 = "孙楠"; var t0_5_10 = "腾格尔,屠洪刚"; var t0_5_11 = "汪峰"; var t0_5_12 = "许巍,小柯"; var t0_5_13 = "阎维文,杨坤,杨臣刚,羽?泉"; var t0_5_14 = "郑钧,张敬轩,郑源,臧天朔"; var t0_6 = "C,F,H,L,M,Q,R,S,W,X,Y,Z"; var t0_6_0 = "蔡健雅,蔡琴,蔡依林,陈慧琳,陈绮贞"; var t0_6_1 = "范玮琪"; var t0_6_2 = "黄伊汶,何韵诗"; var t0_6_3 = "李玟,梁咏琪,刘若英,梁静茹,林忆莲"; var t0_6_4 = "莫文蔚"; var t0_6_5 = "齐豫"; var t0_6_6 = "容祖儿"; var t0_6_7 = "孙燕姿,S.H.E"; var t0_6_8 = "王菲,王心凌,王若琳"; var t0_6_9 = "萧亚轩,许慧欣"; var t0_6_10 = "杨丞琳,杨千?"; var t0_6_11 = "张韶涵,张惠妹"; var t0_7 = "A,C,F,G,H,L,P,Q,T,W,Y,Z"; var t0_7_0 = "阿杜,阿信"; var t0_7_1 = "陈奕迅,侧田"; var t0_7_2 = "费玉清,飞轮海"; var t0_7_3 = "古巨基,光良"; var t0_7_4 = "黄立行"; var t0_7_5 = "林俊杰,罗志祥,罗大佑"; var t0_7_6 = "潘玮柏,品冠"; var t0_7_7 = "齐秦"; var t0_7_8 = "陶?"; var t0_7_9 = "王力宏,巫启贤,吴健豪,吴克群,五月天"; var t0_7_10 = "杨宗纬"; var t0_7_11 = "张信哲,张学友,周华健,周杰伦,周传雄,张栋梁,张震岳"; var t0_8 = "D,H,J,L,M,S,T,X,Y,Z"; var t0_8_0 = "刀美兰"; var t0_8_1 = "黄豆豆"; var t0_8_2 = "季萍萍,金星"; var t0_8_3 = "吕萌,罗君,刘岩"; var t0_8_4 = "马秋萍"; var t0_8_5 = "山?,孙杰"; var t0_8_6 = "谭元元,汤加丽,邰丽华"; var t0_8_7 = "虾嘎"; var t0_8_8 = "杨丽萍,杨扬,殷硕"; var t0_8_9 = "朱妍,张剑"; var t0_9 = "C,D,F,G,H,L,N,P,S,T,W,Y,Z"; var t0_9_0 = "陈佩斯"; var t0_9_1 = "大兵"; var t0_9_2 = "冯巩"; var t0_9_3 = "郭德纲,巩汉林,郭达,郭冬临,郭秋林(山东快书)"; var t0_9_4 = "黄宏,侯耀华"; var t0_9_5 = "李琦,李金斗"; var t0_9_6 = "牛群"; var t0_9_7 = "潘长江"; var t0_9_8 = "单田芳"; var t0_9_9 = "唐杰忠,田连元"; var t0_9_10 = "魏积安,王莉(京韵大鼓),王淑玲(梅花大鼓)"; var t0_9_11 = "袁阔成,闫学晶(二人转)"; var t0_9_12 = "朱时茂,周炜,张文泽,张秋萍(京韵大鼓),张建珍(苏州评弹),张文甫(快板)"; var t0_10 = "C,D,H,J,L,M,S,T,W,X,Y,Z"; var t0_10_0 = "常秋月,蔡正仁(昆剧),迟小秋"; var t0_10_1 = "杜镇杰"; var t0_10_2 = "胡文阁,胡娉,韩再芬,何超(桂剧),史依弘(京剧)"; var t0_10_3 = "蒋建国,蒋文端(粤剧)"; var t0_10_4 = "李胜素,李娟,林为林,栗桂莲,李桂英(锡剧),李佩红(京),李政成(扬剧),李金枝(豫剧)"; var t0_10_5 = "马兰,茅威涛(越剧),马友仙(秦腔)"; var t0_10_6 = "舒锦霞,孙存蝶"; var t0_10_7 = "谭建勋,陶慧敏"; var t0_10_8 = "王蓉蓉,王珍如,王?瑜,汪世瑜,王书龙(淮剧)"; var t0_10_9 = "谢涛(晋剧),许荷英(河北梆子)"; var t0_10_10 = "叶少兰,于魁智,岳美缇"; var t0_10_11 = "张火丁,张志红,张琳,曾昭娟,赵殊珠,周源源,郑桂芳(评剧),袁慧琴(京),张静娴(昆剧),张铭荣(昆剧)"; var t0_11 = "C,D,F,G,H,J,K,L,M,N,T,W,X,Y,Z"; var t0_11_0 = "陈凯歌,陈可辛,陈嘉上"; var t0_11_1 = "杜琪峰,董志强"; var t0_11_2 = "冯小刚,冯小宁"; var t0_11_3 = "高希希,管虎,顾长卫,关锦鹏"; var t0_11_4 = "何平,胡玫,黄健中,阚卫平"; var t0_11_5 = "姜文"; var t0_11_6 = "孔笙,康红雷"; var t0_11_7 = "李安,陆川,刘伟强,刘镇伟,李少红,李玉"; var t0_11_8 = "孟京辉,马俪文"; var t0_11_9 = "宁浩,赖声川"; var t0_11_10 = "田壮壮,田有良,滕华涛,唐季礼"; var t0_11_11 = "吴宇森,吴天明,王小帅,王家卫,王晶,王岳伦,吴子牛"; var t0_11_12 = "徐克,谢晋"; var t0_11_13 = "尤小刚,杨亚洲"; var t0_11_14 = "张艺谋,张元,贾樟柯,张建亚,张建栋,庄宇新,赵宝刚,张艾嘉"; var t0_12 = "A,B,C,D,F,G,H,J,K,L,N,O,S,W,X,Y,Z"; var t0_12_0 = "阿丘(邱孟煌),敖峥嵘"; var t0_12_1 = "毕福剑,白岩松"; var t0_12_2 = "曹景行,崔永元,曹可凡,陈鲁豫,陈蔚波"; var t0_12_3 = "窦文涛,戴军,董路,董卿"; var t0_12_4 = "方宏进,方琼"; var t0_12_5 = "高博,高潮东,郭红梅,高越男"; var t0_12_6 = "胡瓜,黄安,韩乔生,何炅,候佩岑,海霞,胡红梅,韩娇,霍斌"; var t0_12_7 = "敬一丹,金霞,金燕"; var t0_12_8 = "康辉,寇乃馨,柯蓝,孔杰"; var t0_12_9 = "李咏,罗京,梁永斌,鲁健,刘建宏,郎永淳,骆新,刘仪伟,林海,李瑞英,李修平,李小萌,刘纯燕,李梓萌,李湘,李洁,林爽,刘玲华,李彦,刘文蓉,李源,蓝心湄"; var t0_12_10 = "聂一菁,宁远"; var t0_12_11 = "欧阳夏丹"; var t0_12_12 = "沈冰,宋力锦,孙妮娜,撒贝宁,孙正平,水均益,桑朝晖,史超"; var t0_12_13 = "吴宗宪,吴佩慈,吴小莉,王世林,王业,汪涵,文静,王小丫,王小骞,汪文华"; var t0_12_14 = "邢质斌,徐春妮,徐滔,向真,谢娜,许戈辉"; var t0_12_15 = "姚长盛,杨澜,应敏"; var t0_12_16 = "张宏民,张韶刚,张羽,朱军,赵普,张斌,周学,张泉灵,周洁,张璐 ,张璐,张莉,周静,朱丹"; var t0_13 = "A,B,C,D,F,G,H,J,L,M,N,P,S,T,W,X,Y,Z"; var t0_13_0 = "安雅,阿木"; var t0_13_1 = "白冰,班嘉佳,白歆惠"; var t0_13_2 = "陈意涵,陈紫函,陈曦,陈楚生,曹方,曹曦文,曹格,车永莉,车晓"; var t0_13_3 = "董璇,邓丽欣,窦智孔"; var t0_13_4 = "符馨尹,冯绍峰,房祖名,付辛博"; var t0_13_5 = "高云翔"; var t0_13_6 = "哈辉,何琢言,海鸣威,韩庚,何苗"; var t0_13_7 = "吉杰,蒋欣,景甜,井柏然,江一燕,金莎"; var t0_13_8 = "刘芸,李菲儿,李念,李玉刚,吕一,厉娜,李旭丹,林宥嘉,刘威葳,林妙可,吕玉来,林申,立威廉"; var t0_13_9 = "马天宇"; var t0_13_10 = "牛萌萌"; var t0_13_11 = "蒲巴甲,潘阳"; var t0_13_12 = "石爻,孙琳,沈佳妮,苏醒,沈鹤(小沈阳)"; var t0_13_13 = "童瑶,田原,唐一菲,涂松岩,谭维维,唐嫣,唐宁,汤唯,涂圣成"; var t0_13_14 = "吴樾,魏晨,武嘉辉,文章,王子文,王珞丹,王宝强"; var t0_13_15 = "徐菁遥,许飞,熊汝霖,萧敬腾,徐筠,谢婷婷,希亚"; var t0_13_16 = "姚笛,姚芊羽,杨程程,于小磊,杨紫,袁文康,袁弘,杨洋(男),晏菲"; var t0_13_17 = "张雨绮,郑欣宜,钟萱,邹宗胜,朱铁,张杰,朱亚文,周一围,张峻宁,张一山,扎西顿珠,张默,朱雨辰"; window.onload = function() { var allActorTypes = t0.split(","); actorType.options.length = allActorTypes.length + 1; for(var i = 0 ; i < allActorTypes.length ; i++) { actorType.options[i + 1].text = allActorTypes[i]; actorType.options[i + 1].value = "t0_" + i; } actorType.onchange = function() { var tmpFirstLetter = eval(actorType.value).split(","); actorFirstLetter.options.length = tmpFirstLetter.length + 1; for(var i = 0 ; i < tmpFirstLetter.length ; i++) { actorFirstLetter.options[i + 1].text = tmpFirstLetter[i]; actorFirstLetter.options[i + 1].value = actorType.value + "_" + i; } }; actorFirstLetter.onchange = function() { var tmpFullName = eval(actorFirstLetter.value).split(","); actorFullName.options.length = tmpFullName.length + 1; for(var i = 0 ; i < tmpFullName.length ; i++) { actorFullName.options[i + 1].text = tmpFullName[i]; actorFullName.options[i + 1].value = tmpFullName[i]; } }; }; </script> </head> <body> <select id="actorType"> <option value="">请选择演员类型</option> </select> <select id="actorFirstLetter"> <option value="">请选择演员首字母</option> </select> <select id="actorFullName"> <option value="">请选择演员全名</option> </select> </body> </html>
- Actor.rar (3.2 MB)
- 下载次数: 80
相关推荐
在前端开发中,省市区三级联动是一种常见的交互设计,...以上就是使用jQuery、js和json实现省市区三级联动的基本原理和流程。这种技术在电商、物流、O2O服务等领域非常常见,提高了用户在填写地址时的便捷性和准确性。
在IT行业中,尤其是在Web开发领域,原生AJAX(Asynchronous JavaScript and XML)和jQuery库是经常被用来创建动态交互式用户体验的技术。本篇博客主要探讨如何利用这两者实现二级联动选择,即当用户在一级选择中作出...
在IT行业中,"三级联动"通常指的是在用户界面设计中,三个下拉菜单或选择框之间存在的联动关系。这种联动关系使得用户在一个下拉框中做出选择后,其他下拉框的内容会根据这个选择自动更新,以展示相关联的数据。这在...
总之,“JQ 世界地区三级联动”插件利用jQuery和Chosen插件,结合定制的JavaScript代码,为开发者提供了一种便捷的方式,实现全球地区选择的三级联动效果。通过研究压缩包内的文件,特别是`index.html`和`area_chs....
在“jQuery实现的带select下拉选择框美化的省市区三级联动特效源码.zip”中,我们可以期待找到以下关键知识点: 1. **jQuery库**:jQuery是JavaScript的一个框架,它通过提供易于使用的API,简化了DOM操作、事件...
"jQuery移动端省市区三级联动选择框"就是这样一个功能组件,它模仿了淘宝移动端收货地址的交互设计。 首先,我们来看看涉及到的关键技术点: 1. **jQuery**:jQuery 是一个高效、简洁的 JavaScript 库,简化了HTML...
**jQuery省市区三级联动插件**是一种常见的前端开发技术,用于在网页上实现省、市、区(县)的联动选择效果。这种效果通常应用于地址输入、订单填写等场景,可以方便用户快速选择地理位置,提高用户体验。在...
这份压缩包包含两份关键的数据文件:json数组和js数组,以及可能涉及的原生JavaScript和jQuery实现的三级联动效果。 1. JSON数组:JSON(JavaScript Object Notation)是一种轻量级的数据交换格式,易于人阅读和...
通过以上步骤,我们可以利用JavaScript实现一个高效、灵活的移动端省市区三级联动选择器。在实际项目中,还可以结合前端框架(如Vue、React等)或第三方库(如jQuery UI)来简化开发过程,提高代码的可维护性和可...
综上所述,"js日期三级联动-滑动选择.rar"是一个综合运用JavaScript、jQuery和CSS技术的前端组件,它实现了日期选择的三级联动,配合滑动交互,为用户提供了一种适应多平台的日期选择体验。通过解压并研究其中的...
JavaScript全国三级联动是一种常见的前端开发技术,主要用于实现地区选择、多级分类等功能。在这个场景下,用户可以从一个下拉菜单中选择省份,接着选择城市,最后确定区县,这三个级别之间存在着联动关系,即选择一...
在给定的场景中,我们有一个纯原生JavaScript编写的移动端城市选择插件,它不依赖任何外部库,如jQuery或Vue.js,这使得它更加轻量级且易于集成。 首先,我们来理解一下“三级联动”这一概念。在网页设计中,三级...
这个功能主要用于实现三个或多个下拉选择框之间的联动效果,即一个选择框的选项变化会动态影响到其他关联的选择框。在这种场景中,"area.js"可能是一个专门用于实现这种功能的JavaScript脚本文件。 "select"是HTML...
h5-PickerView凭借其纯原生JavaScript的实现、轻量级的体积和多级联动的特性,成为移动端开发者的得力助手。无论是在小项目还是大型应用中,它都能以高效、稳定的表现赢得开发者们的青睐。通过深入理解和熟练运用,...
总结来说,省市县三级联动的实现涉及前端与后端的交互,数据库设计,以及选择合适的通信协议和库。Java + JSP + MySQL方案适合大型项目,提供了完整的MVC架构;DWR提供了一种轻量级的远程调用方式,简化了前后端交互...
本项目“jQuery模拟select下拉框三级城市联动代码”旨在利用jQuery实现一个功能丰富的城市选择器,该选择器能够模拟传统的HTML select元素,并且支持三级联动效果,即省份、城市和区县之间相互关联,选择其中一个...
在IT领域,尤其是在Web开发中,"三级联动"是一种常见的交互设计模式,它通常用于下拉菜单或选择框,尤其适用于处理层次结构的数据,如省份-城市-区县的地域选择。这种设计允许用户通过逐级选择来过滤或细化结果。在...
"java+Ajax实现省市地三级联动"就是一个典型的案例,它利用了Java、Ajax、JSON、Servlet和JavaScript等技术,来构建一个动态的下拉选择框,使得用户在选择省之后,市和地级行政区划会根据所选的省自动更新。...
总结来说,这个项目使用JavaScript和jQuery实现了省市区三级联动的功能,用户在选择省份时,城市和区县的选项会动态更新。`area.js`提供数据,`location.js`负责逻辑,`index.htm`作为展示界面,而`common.css`则...