How can I position an element next to user text selection?
<p>I need to position an absolute positioned button<br />
next to user's selected text. just like what IE8 does internally.</p>

<p>I'm binding a <strong>jquery event mouseup</strong> to the Document, and get<br/>
the selected text. but I'm currently out of ideas how to know where the<br/>
actual selection is positioned, without wrapping it in some element, <br />
because selection of text can be across several elements, and it would mess <br />
the structure if I would wrap it.</p>
