JQuery.select() for <div>
<p><a href="http://api.jquery.com/select/" rel="nofollow">http://api.jquery.com/select/</a> mentions that $().select() </p>

<blockquote>
  <p>"The select event is sent to an element when the user makes a <strong>text selection</strong> inside it. This event is <strong>limited</strong> to <code>&lt;input type="text"&gt;</code> fields and <code>&lt;textarea&gt;</code> boxes."</p>
</blockquote>

<p>I am trying to detect text selection in <code>&lt;div&gt;</code>.</p>

<p>What's the best way to provide the equilvalent $().select()?</p>

<p>Thanks in advance for your help.</p>
