how to select text with the jquery-select-event inside a div element?
<p>is it possible to throw the jquery-select() event on a text which is inside a div element?
here is my example but it doesnt work.</p>

<pre><code>&lt;div id='id1'&gt;Hello text&lt;/div&gt;
$("#id1").select( function () { 
  alert("something was selected");
});
</code></pre>

<p>My goal is to select a word in a text and to put this selected word in an URL and to open a new window with this url.
For example i mark or rather i select the word hello, the word hello should apear in this url</p>

<pre><code>window.open('http://dict.leo.org/ende?lp=ende&amp;lang=de&amp;searchLoc=0&amp;cmpType=relaxed&amp;sectHdr=on&amp;spellToler=&amp;search=Hello');
</code></pre>

<p>i am not sure if the select-event is the right way.
please help.
sorry for my bad english!</p>
