<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>智能社——http://www.zhinengshe.com</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> </head>
<body>
<input type="button" value="按钮" id="test">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script>
$("#test").mousedown(function(e){
if(e.which==1){
alert("这是 左 键单击事件");
}else if(e.which==2){
alert("这是 中 键单击事件");
}else if(e.which==3){
alert("这是 右 键单击事件");
}
})
</script>
</body>
</html>

最新文章

  1. 自制文件上传JS控件,支持IE、chrome、firefox etc.
  2. jq实现点击表格无刷新修改数据,优化版
  3. php : 类常量
  4. linux学习之——学习路线(摘抄)
  5. 图解VS2010打包全过程(转)
  6. 判断子元素(or属性)是否存在
  7. Javascript---数组常用方法
  8. tech
  9. 关于APlayer播放器在打包安装后提示“没有注册类”的解决办法
  10. Python学习笔记(十五):类基础
  11. 符号文件(.pdb)——Windows 应用程序调试必备
  12. codeforces 598D Igor In the Museum
  13. malloc,free简单的实现
  14. [css 实践篇] CSS box-orient
  15. python的位置参数、默认参数、关键字参数、可变参数区别
  16. cookie和session的讲解
  17. webpack安装
  18. Linux分区知识及企业场景分区76
  19. 算法实践--最长递增子序列(Longest Increasing Subsquence)
  20. CF494C Helping People 解题报告

热门文章

  1. Linux 控制台
  2. 【jQuery】 常用函数
  3. npx 命令介绍
  4. 《python核心编程第二版》第5章习题
  5. python基础训练营02
  6. 在 C/C++ 中使用 TensorFlow 预训练好的模型—— 间接调用 Python 实现
  7. Elasticsearch 监控和部署
  8. Linux 进程,线程,线程池
  9. System.NullReferenceException:未将对象引用设置到对象的实例,这是一个新鸟,中鸟,老鸟都避不开的错误
  10. 【EasyNetQ】- 自动订阅者