HTML onselect Event Attribute
Try it yourself »
The onselect event attribute is supported in all major browsers.
Definition and Usage
The onselect attribute fires after some text has been selected in an element.
The onselect attribute can be used within: <input type="file">, <input type="password">, <input type="text">, <keygen>, and <textarea>.
Differences Between HTML 4.01 and HTML5
|script||The script to be run on onselect|
HTML Event Attributes
Thank You For Helping Us!
Your message has been sent to W3Schools.