jquery get select text from the page
<p>I am trying to write a chrome extension for windows, that copies any selected text from the page to the clipboard.I am using jquery for doing the java script part. </p>

<p>How can i get any selected/highlighted text in that page? To put it in other way,is there an event listener, that gets triggered when any portion of text is highlighted.</p>
