I would like to know when a user selects text in an html page using Javascript. The text should not be editable. The onselect
event seems to be only applicable to <textarea>
and <input type="TEXT">
tags. The event is not fired if either tag is disabled.
Is there a way around this with these tags?
Is there a completely different approach?