onclick

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

Document Tags and Contributors

Contributors to this page: jswisher, colin-marshall, Sheppy, Enn, Marsf, DJAssi
Last updated by: jswisher,