- jQuery("#id").click(func1).mouseover(func2)//方法连写,func为方法的名字
- jQuery("#id").click(function(){//你的具体方法实现}),mouser(function(){//你的具体方法实现});
- jQuery("#id").bind("click mouseover",func)//两个事件中间有空格 ,func为方法的名字
- jQuery("#id").bind("load scroll",function(){//你的具体方法实现});
JQuery一个对象绑定多个事件
推荐阅读
- (1)DBA查询:数据库
- SQL Server 表分区之水平表分区
- SQL数据库中临时表、临时变量和WITH AS关键词创建“临时表”的区别
- SqlServer 索引
- 国内pip源提示“not a trusted or secure host”解决方案
- Codeforces Round #689 (Div. 2, based on Zed Code Competition) 个人题解
- Python | PyQt5 Could not find the Qt platform plugin windows错误解决方法
- Codeforces Round #727 (Div. 2) A~D题题解
- AcWing 每日一题 - 暑假
- 使用PyCharm引入需要使用的包