JavaScript Events – onclick
Check out my new site at http://www.youtubemuse.com/
This screencast is going to look at the onclick event handler. This event handler executes JavaScript code when the user clicks on the HTML element that is setup with this event handler.
source