Forum Moderators: coopster

Message Too Old, No Replies

Adding Text to Text window with a button

text button text window

         

havoc

8:32 am on Jan 19, 2004 (gmt 0)

10+ Year Member



I have made an admin section of a site, What i want to do i have buttons under that have "BOLD" "center" and when clicked it adds <b></b> tags to the text area etc etc..

if the text area was called "message"

how would i going about coding the images / buttons to add the code?

Thanks in advance

coopster

12:31 pm on Jan 19, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Are you trying to allow the admin to create HTML on-the-fly? If so, you may want to have a look at the htmlarea open source project:

h**p://sourceforge.net/projects/itools-htmlarea/