Home › Forums › JavaScript › Detect selected text › Re: Detect selected text
June 22, 2010 at 11:18 am
#78351
asp
Participant
Nice just what I was looking for =D
I noticed that it adds a lot of spans at the start of the <p id="highlight"> tag when you just click the button without any text selected. Is there a way to stop that? And is there a possibility to remove the highlighting if you want that?
I know it’s a lot to ask but I’m not capable to do it myself. :?