title: Get the selected text on <p> tag
body: <p>Using jquery or pure javascript, is there a way to get the currently selected text of a <code>&lt;p&gt;</code> tag? I'm aware of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-textarea/input-selectionstart" rel="nofollow">input.selectionStart</a>,  but it only exists on <code>&lt;input&gt;</code>.</p>