---
title: "jquery  鼠标点击左键事件"
author: "coldg"
date: "2013-12-21T10:54:42Z"
tags: []
categories: ["Web前端"]
slug: "jquery"
draft: false
lastmod: "2013-12-21T11:01:13Z"
id: 1993253
url: "https://coldg.iteye.com/blog/1993253"
---

```
//点击鼠标左键事件  更新物品最高价
	$(document).mousedown(function(e){
		if(1 == e.which){
			alert(你点击了鼠标左键);
		}
	});
```