How to have a popup after selecting text?
<p>I can't seem to figure this out.  I have a div with some text in it.  When the user selects pieces of it (totally at random, whatever they want), I want a small popup to occur with the text inside of it.  </p>

<p>To initiative the popup, can I just do this? ...</p>

<pre><code>$('#textdiv').click(function() {  
</code></pre>

<p>But then how do I get only the selected/highlighted text?</p>
