请问jQuery中bind函数用法?
3 回答

拉风的咖菲猫
TA贡献1995条经验 获得超2个赞
$('#idName').click(function(event){
$(this).val();// 当然的元素,直接使用this即可。
//$(this)把this转化成jQuery对象
});
- 3 回答
- 0 关注
- 295 浏览
添加回答
举报
0/150
提交
取消