| button | ใช้คืนค่าสถานะของการคลิก mouse เมื่อมีการคลิก mouse |
|---|
property:button;
return type:number
content:ใช้คืนค่าสถานะของการคลิก mouse เมื่อมีการคลิก mouse โดย 0 คือยังไม่มีการคลิก mouse 1 คือมีการคลิก mouse ซ้าย 2 คือมีการคลิก mouse ขวา 4 คือมีการคลิก mouse ตรงกลาง
example:function stateMouse ( event ) { alert ( event.button ); }