onSelect
The instruction(s) to be executed are placed within quotes. This event handler will execute the instruction(s) when the text inside a text area field is selected.

The following example will change the bordercolor of the text field to red when it has been selected.:
onSelect="document.bordercolor=red"
This Event Handler is used with the following:

CAPTION
FIELDSET
TEXTAREA