Selecting and formatting text
Posted: Sat Jul 14, 2007 9:51 pm
I am wondering if there is a way for JavaScript to tell if some text is selected? If so, please show me some code. Also I want the selected text to appear bold after clicking on a button. I would like someone to please show me some code for that as well. Thanks in advance.