Detect when user selects text in a textarea
<p>How to detect when user selects text in a textarea with JS?
I used jQuery-fieldselection ,but it works only if the <code>range.text</code> is putted into a pre tag.It doesn't work with div.</p>
