August 2006
Intermediate to advanced
1018 pages
34h 13m
English
Link.onclick: event handler invoked when a Link is clicked — DOM Level 0
Function onclick
The onclick property of a
Link object specifies an event-handler function that is invoked
when the user clicks on the link. The browser default action after
the event handler returns is to follow the hyperlink that was
clicked. You can prevent this default by returning false or by using one of the other
event-cancellation methods described in Chapter 17.
Element.addEventListener(
), MouseEvent; Chapter 17
Read now
Unlock full access