This code reads selected text after a user releases the mouse button. I came up with this technique after I read a questions at Stack Overflow. I never actually used it on any web projects, but it might come in handy at a later time.
IE uses the native createRange(); method and Webkit can use the getSelection(); method of the window or document object.
Stephan Kristyn Mondstr. 1b 81543 München