Outputting html code to a <textarea> tag
Posted on 2003-02-19
I was thinking of using a <textarea> tag to do this:
<textarea><b>example sentence blah blah blah</b><br><hr></textarea>
But i found doing this doesn't translate any of the html tags in between the <textarea></textarea>, and just treats them as normal text. Is there anyway of getting round this or has anyone got any alternate ideas?
Basically it's for an online diary replies section, where replies are read from the database and fed into this textarea.