javascript event button
@March 15, 2008, 1:22 a.m.
button | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2 | |||||||||||||||||||||||||||||||||||
Read-only | ||||||||||||||||||||||||||||||||||||
Inidicates which mouse button was pressed to trigger the mouse event. Be aware that the typical Macintosh has only a one-button mouse. Also, if you want to intercept the right-click context menu in IE/Windows, use the oncontextmenu event handler. |
||||||||||||||||||||||||||||||||||||
A significant discrepancy exists among DOM specifications and implementations with respect to the numbers returned for this property. The W3C DOM, as implemented in Netscape 6, specifies a value of zero to indicate the left (primary) button. IE for Windows supports additional values for mouse button combinations. |
||||||||||||||||||||||||||||||||||||
Example | ||||||||||||||||||||||||||||||||||||
if (evt.button == 2) { // handle event for right button } |
||||||||||||||||||||||||||||||||||||
Value | ||||||||||||||||||||||||||||||||||||
Integer value according to the following table. |
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
Default | ||||||||||||||||||||||||||||||||||||
0 |
Permanent URL:
http://javascript.gakaa.com/event-button.aspx
purchase amoxil generic - <a href="https://combamoxi.com/valsartan/">buy valsartan 160mg without prescription</a> buy combivent 100mcg pill
Jubgox
- 3 days
buy accutane 20mg sale - <a href="https://isotadron.com/dexamethasone/">buy cheap decadron</a> order linezolid 600 mg sale
Gvgtak
- 3 days
prednisone cheap - <a href="https://starlisone.com/captopril/">order captopril 25 mg online</a> purchase capoten
Yjjlea
- 2 weeks
Powered by Linode.