Does anyone know if it's possible to get access to highlighted text within a textarea / textbox? i.e. if I fill in some text into a textarea, then select a part of it, is there some javascript function that refers directly to the highlighted text (but not the rest of the text)?

Thanks!