'button' Syntax and Note : button « Javascript Properties « JavaScript Reference

'button' Syntax and Note

Note:

Read and write property. 
Specifies the mouse button pressed by the user. 
    
Syntax:
    
window.event.button = value

    

      
      








Related examples in the same category

1.'button' Example
2.'button' Possible Values
3.'button' is applied to