This version is old school.
Please find jQuery plugins on npm.
jquery.textSelect
Bind to the `textSelect` event, a custom DOM-like event generated using jQuery's Special Events API. The `textSelect` event triggers when the user selects any text within a bound element.