Notes
The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.
onselect = script [CT]
The onselect event occurs when a user selects some text in a text field. This attribute may be used with the INPUT and TEXTAREA elements.
<element onselect="SomeJavaScriptCode">