Re: html in textarea

From: news.skynet.be (mart_at_nonstoploop.co.uk)
Date: 05/24/04


Date: Mon, 24 May 2004 13:42:41 +0200

An html textarea tag will not render html.. it will only show text, so your
html will not be rendered in the text area, it is not designed for that.

What you could do is a preview pane with a div tag and use javascript on the
client side to populate the div tag using the innerHTML property of a div.
This would then render the html. Or display the html in any other way... it
won't be rendered in a textarea, as far as I know.

hope this helps

cheers
Martin

-- 
---------------
http://www.nonstoploop.co.uk/ - dynamic websites
http://www.rossanobacchin.be/ - fine art
http://www.weycameras.co.uk/ - photographic supplies
---------------
"megha" <megha@4cplus.com> wrote in message
news:eeb80314.0403302328.a29c30b@posting.google.com...
> Hi all
>
> I am adding signature in textarea which is stored as text in database
> now if i add html tags to it and later retrieve it in textarea it
> shows all tags of html but not their function. How i can get proper
> signature with html function.