Occurs when the mouse right button is clicked. mousedown, mouseup & contextmenu events occur in sequence

Here is an example which logs the mouse events to textarea element as they occur.

<inputtype="button"value="Single, Double or Right Click"onclick="logEvent(event)"onmousedown="logEvent(event)"onmouseup="logEvent(event)"onmouseover="logEvent(event)"onmouseout="logEvent(event)"ondblclick="logEvent(event)"oncontextmenu="logEvent(event)"/>