get selected text using jquery using select function in textarea
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2377875/how-to-get-selected-text-in-a-html-input-text-box">How to get selected text in a HTML Input Text Box</a>  </p>
</blockquote>



<p>Using select function in jquery we can check whether the txt was selected or not in the textbox. However i want to extract the selected text.Which function can be used for this ?</p>
