selected-text

Getting selected text in a browser, cross-platform.

One of the things I'd like to do in my browser-based application is allow the user to select some text (not in a <textarea>, just plain ol' text!), and have my application pop up a small toolbar that then can interact with the next (in my case, add annotations). I've found a lot of stuff on google that seems to be focused on writing WYS...

Changing the highlight color of text in Flash with ActionScript 2.

I've got several input text fields, and my design requirement is to have gold text on a black background that, when highlighted, is black text on a gold background; however, Flash's default selected text highlight color scheme is white text on a black background and there is no way to change this. Does anyone have any workarounds that a...

jQuery wrap selected text in a textarea

how can i get the user selected text(just inside textarea) and apply actions to it something like wrap the selection [#bold]selected text[/bold] , thanks ...

Firefox Selected Text HTML

when i select some text from the browser, is there anyway i can get the selected html instead of just the plain text for firefox using javascript. Let me know if any one did this before. --vamsi ...