Supported Event Types
Most commonly used event types are:
- onload, onunload (this is used at webpage, document or window level)
- onclick (normally used for images and buttons)
- onkeypress, onfocus, onblur (typically used for validation)
- onchange (this is used when a change in select control may affect other select controls, e.g. onchange of select control containing country names may require a refresh the select control of cities)
Below is the complete list of supported events. Elements prefixed with ms- are Microsoft Browser specific whereas those prefixed with xul- are XUL events:
- onclick
- ondblclick
- onmousedown
- onmouseup
- onmouseover
- onmousemove
- onmouseout
- onkeypress
- onkeydown
- onkeyup
- onload
- onunload
- onabort
- onerror
- onresize
- onscroll
- onselect
- onchange
- onsubmit
- onreset
- onfocus
- onblur
- ondomfocusin
- ondomfocusout
- ondomactivate
- onsubtreemodified
- onnodeinserted
- onnoderemoved
- ondomnoderemovedfromdocument
- ondomnodeinsertedintodocument
- onattrmodified
- oncharacterdatamodified
- ms-oncut
- ms-oncopy
- ms-onpaste
- ms-onbeforecut
- ms-onbeforecopy
- ms-onbeforepaste
- ms-onafterupdate
- ms-onbeforeupdate
- ms-oncellchange
- ms-ondataavailable
- ms-ondatasetchanged
- ms-ondatasetcomplete
- ms-onerrorupdate
- ms-onrowenter
- ms-onrowexit
- ms-onrowsdeleted
- ms-onrowinserted
- ms-oncontextmenu
- ms-ondrag
- ms-ondragstart
- ms-ondragenter
- ms-ondragover
- ms-ondragleave
- ms-ondragend
- ms-ondrop
- ms-onselectstart
- ms-onhelp
- ms-onbeforeunload
- ms-onstop
- ms-onbeforeeditfocus
- ms-onstart
- ms-onfinish
- ms-onbounce
- ms-onbeforeprint
- ms-onafterprint
- ms-onpropertychange
- ms-onfilterchange
- ms-onreadystatechange
- ms-onlosecapture
- xul-DOMMouseScroll
- xul-ondragdrop
- xul-ondragenter
- xul-ondragexit
- xul-ondraggesture
- xul-ondragover
- xul-CheckboxStateChange
- xul-RadioStateChange
- xul-onclose
- xul-oncommand
- xul-oninput
- xul-DOMMenuItemActive
- xul-DOMMenuItemInactive
- xul-oncontextmenu
- xul-onoverflow
- xul-onoverflowchanged
- xul-onunderflow
- xul-onpopuphidden
- xul-onpopuphiding
- xul-onpopupshowing
- xul-onpopupshown
- xul-onbroadcast
- xul-oncommandupdate
Read more about this topic: Vroom Framework
Famous quotes containing the words supported, event and/or types:
“How could a man be satisfied with a decision between such alternatives and under such circumstances? No more than he can be satisfied with his hat, which hes chosen from among such shapes as the resources of the age offer him, wearing it at best with a resignation which is chiefly supported by comparison.”
—George Eliot [Mary Ann (or Marian)
“I feared these present years,
The middle twenties,
When deftness disappears,
And each event is
Freighted with a source-encrusting doubt,
And turned to drought.”
—Philip Larkin (19221986)
“Science is intimately integrated with the whole social structure and cultural tradition. They mutually support one otheronly in certain types of society can science flourish, and conversely without a continuous and healthy development and application of science such a society cannot function properly.”
—Talcott Parsons (19021979)