Find SelectedText by mouse Selection in div jquery?
<p>I want to find it out <code>selected text</code> on div which select by mouse. I found out <a href="http://api.jquery.com/select/" rel="nofollow">.select()</a> method for select. but its not accomplish my problem.</p>

<p>i want to something like : </p>

<pre><code> &lt;div id='mydiv'&gt;Lorem Ipsum is simply dummy text of the printing.&lt;/div&gt;
</code></pre>

<p>when i selected <code>simply</code> text using mouse selection.i found it out using <code>jquery</code>.
or something else another selected i want to get it.</p>
