Event attributes

Purpose

Pointing device and keyboard event attributes.

Attributes

Attribute Description Type Default Options Use
onclick Script policy to execute when user clicks the pointing device button. xs:string none    optional 
ondblclick Script policy to execute when user double-clicks the pointing device button. xs:string none    optional 
onkeydown Script policy to execute when a key is pressed. xs:string none    optional 
onkeypress Script policy to execute when a key is pressed and released. xs:string none    optional 
onkeyup Script policy to execute when a key is released. xs:string none    optional 
onmousedown Script policy to execute when the pointing device button is pressed. xs:string none    optional 
onmousemove Script policy to execute when the pointing device is moved while over an element. xs:string none    optional 
onmouseout Script policy to execute when the pointing device is moved away from an element. xs:string none    optional 
onmouseover Script policy to execute when the pointing device is over the element. xs:string none    optional 
onmouseup Script policy to execute when the pointing device button is released. xs:string none    optional 
onresize Script policy to execute when a window or frame is resized. xs:string none    optional 

Related topics