get selected text

get selected text

hi,

does anyone knows have to get selected text for example from <textarea> with jquery?

google shows that this is challenge for many .. but there is no answer that works