摘要: 注:1为鼠标左键、2为鼠标中键、3为鼠标右键$('#btn').mousedown(function(e){ if(3 == e.which){ alert('右键单击事件'); }else if(1 == e.which){ alert('左键单击事件'); } }) 阅读全文
posted @ 2017-09-11 15:37 lilelile 阅读(1314) 评论(0) 推荐(0) 编辑