Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / April 2007



Tip: Looking for answers? Try searching our database.

Formattings Tags appearing in my TextArea Component

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoMama4U - 26 Apr 2007 20:23 GMT
I'm having an issue with TextFormat tags that are appearing in textfields.  
Here's an overview of what I'm doing:
Basically, I'm trying to grab the text from a textArea component: (myText =
myTextArea.text")

Because I want to retain formatting, I have the textArea set to be html.
Thus, myText becomes the text you see below

So the myText data is then stored in XML, but later when I try to access it,
it fills that same textArea component with the literal code rather than the
formatted text.  How do I take that TextFormat string and convert it back to
it's original form?  I've tried myTextArea.htmlText but I guess that isn't it.  
Thanks for the help!

Thanks!

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12"
COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>Hello World!</B> but this
ain&apos;t bold!</FONT></P></TEXTFORMAT>
JoMama4U - 26 Apr 2007 21:35 GMT
Let me make my question easier to understand:   ;-)

I've got the text formatting (below) in a string.  Using that string, how do I
display the text it contains correctly?

Thanks!

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12"
COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>Hello World!</B> but this
ain&apos;t bold!</FONT></P></TEXTFORMAT>
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.