http://api.jquery.com/select/ mentions that $().select()
"The select event is sent to an element when the user makes a text selection inside it. This event is limited to
<input type="text">
fields and<textarea>
boxes."
I am trying to detect text selection in <div>
.
What's the best way to provide the equilvalent $().select()?
Thanks in advance for your help.