View Full Version : javascript button

Oct 26th, 2009, 01:33 PM
i am trying to achieve a JS driven button for a cms. for example i have a text in a textarea so i select the text and add the bold attribute to this text.
my text before : text
my text with bold added : <b>text</b>
what the function to achieve this ?

Philip M
Oct 26th, 2009, 01:57 PM
You will find the answer at

http://www.codingforums.com/showthread.php?t=134113 - Author Kor

It is your responsibility to die() if necessary….. - PHP Manual