button

This property is used to recognize which mouse button was used to fire an event. It should be noted that in both Netscape Navigator and Internet Explorer the right mouse button displays a menu selection list. This being so, the only value which will be returned will be left, since only the left mouse button can trigger an event.

syntax:

event.button

This Property is used to access attributes of the following:

event