This page demonstrates a few different events. Upon events occurring, a message will be displayed in the textarea indicating which event occurred.
Dummy text area.
Click mouse in text field.
Message output: