Description: Illustrates the JavaScript syntax for the onClick Event.
Syntax: Object.onClick="yourjavascriptcode()" – Allows you to know when text or selection for element has changed.