get highlighted text using jquery .select()?
<p>I was trying example code found here <a href="http://api.jquery.com/select/" rel="nofollow">http://api.jquery.com/select/</a> </p>

<pre><code>$(":input").select( function () { 
      $("div").text("Something was selected").show().fadeOut(1000); 
    });
</code></pre>

<p>Now my question is instead of printing "Something was selected" , can I get exact selected text?</p>

<p>I want jquery .select() specific answers . I got other solution from <a href="http://jsfiddle.net/KgtW5/3/" rel="nofollow">here</a></p>
