Mouse Event Properties

JavaScript FAQ | Keyboard & Mouse Events FAQ  

Question: What event properties can I use to analyze mouse events?

Answer: In modern browsers (e.g. Firefox, Opera, Safari, Chrome, Internet Explorer 4.0 or newer) quite a few event properties are visible to your JavaScript code. Some event properties are the same across browsers (for example,

); however, most properties are platform-dependent.

Move or click your mouse, and the text boxes below will display all mouse event properties for your browser ( ):

Properties of the most recent event:  

Properties of the most recent event:  

Copyright © 1996-2018,