If I understood your question right, you're trying to get selected text from HTMLArea and not into it?
HTMLArea is not actually a textarea element but iframe. So the key word is:
window.frames[<frame>].document.<selection method>
- Janne -
Text editors
How to add onclick or onselect functions to HTML Textarea ?
Այս քննարկումը արգելափակված է: Դուք այլևս չեք կարող պատասխանել դրան: