Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the mouse button pressed by the user.
Syntax
event . button [ = iWhichButton ]Possible Values
iWhichButton | Integer that specifies or receives one of the following values.
|
The property is read/write. The property has a default value of 0 .
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .
Remarks
The property is read-only in Microsoft® Internet Explorer 4.0, and read/write in Internet Explorer 5 and later.
This property is used with the onmousedown , onmouseup , and onmousemove events. For other events, it defaults to 0 regardless of the state of the mouse buttons.
Standards Information
There is no public standard that applies to this property.
Applies To
|
event |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |