zoukankan
html css js c++ java
级联操作绑定事件
jQuery操作一个列表,根据
类别选出学校
,
点击学校出现院系
,
点击院系出现专业
,然后链接至专业申请页面。
$(
"
li.university
"
).click(
function
()
{
var
id
=
$(
this
).attr(
"
rel
"
);
$.get(
"
data.aspx?type=u&id=
"
+
id ,
function
(html)
{$(
"
#universityselect
"
).html(html);}
);
}
);
$(
"
li.universityselect
"
).click(
function
()
{
var
id
=
$(
this
).attr(
"
rel
"
);
$.get(
"
data.aspx?type=s&id=
"
+
id ,
function
(html)
{$(
"
#coursetype
"
).html(html);}
);
}
);
$(
"
li.course
"
).click(
function
()
{
//
var id = $(this).attr("rel");
alert(
"
dd
"
);
//
$.get("data.aspx?type=p&id="+id ,
//
function(html){$("#
查看全文
相关阅读:
np.max 与 np.maximum
套路、逻辑与思辨(道理的论证)
套路、逻辑与思辨(道理的论证)
拉普拉斯方程与复微分
拉普拉斯方程与复微分
计算机辅助解题
计算机辅助解题
使用Opencv中均值漂移meanShift跟踪移动目标
密室问题
各种机械键盘轴的差别,究竟什么轴好
原文地址:https://www.cnblogs.com/luluping/p/1216417.html
最新文章
python总结
sublime的20个插件
安装星际译王
linux下解压iso文件
用extundelete恢复rm -rf删的文件
delete
gdb详解
WebGL是一种3D绘图标准,这种绘图技术标准允许把JavaScript和OpenGL ES 2.0结合在一起
Android Fragement学习笔记(三)----PreferenceFragment的使用
工作流和审批流
热门文章
最新Android ADT, SDK, SDK_tool等官方下载说明(及时更新)
hdu1075What Are You Talking About (字典树)
JOHN W. TUKEY: HIS LIFE AND PROFESSIONAL CONTRIBUTIONS
欧拉函数及其部分性质
怎样訪问Google
vs2013 IntelliSense: "const char *" 类型的实參与 "LPCWSTR" 类型的形參不兼容
Android监听外部存储设备的状态(SD卡、U盘等等)
OSI七层模型具体解释
复制构造函数应该注意的问题
np.max 与 np.maximum
Copyright © 2011-2022 走看看