« XUL Reference home
onclick
Type: script code
This event handler is called when the object is clicked.

Example

<image src="hello.png" onclick="alert('Hi')"/>

See also

click DOM element