||View All MessagesBack to WebFX|
I am trying to make buttons for a textarea so that, for example, you can click "Bold" and it will put [B] and [/B] tags around what you are selected on. In Mozilla, selectionStart and selectionEnd works very well, but in IE, I can't find a clean way to do it. I looked at some of the bulletin boards like phpBB and they seem to have strange workarounds. Here is a page that has that kind of workaround: http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
Is there a simpler way?
Thanks in advance,