Home › Forums › JavaScript › Detect selected text › Re: Detect selected text
June 21, 2010 at 4:42 pm
#78316
asp
Participant
This is what I’m trying to do.
[img]http://mathiasb.no/stuff/note/show.png[/img]
First I just have a plain text
Then i select a portune of the txst and press the "Add class" button.
And this adds a class with yeallow background to the selected text.