2 event handler calling one jquery method
This question already has an answer here:
$(".BWTabVerticalTitle").bind('click keydown', function(e) {
if (e.which === 13) {
alert('enter!')
}
else { alert('click') }
});
链接地址: http://www.djcxy.com/p/96916.html
下一篇: 2事件处理程序调用一个jQuery方法