August 2006
Intermediate to advanced
1018 pages
34h 13m
English
HTMLElement.onclick: event handler invoked when the user clicks on an element — DOM Level 0
Function onclick
The onclick property of an
HTMLElement object specifies an event-handler function that is invoked
when the user clicks on the element. Note that onclick is different from onmousedown. A click event does not occur
unless a mousedown event and the subsequent mouseup event both occur
over the same element.
Element.addEventListener(
), Event, MouseEvent; Chapter 17
Read now
Unlock full access