Yeah, I know I can do this but then I lose all the formatting. I want
to send the data back to a DB via a webservice so that I can then
retrieve it in the future. I believe that to do this I need to
'escape' some of the characters in the HTML I retrieve from the
textArea. Thinking about it, it may just be the '<' and '>' that I
need to 'escape' in which case of course it's simple. My initial
instincts were that it might be more involved than that but perhaps not!

Cheers,

Jamie.

--- In [email protected], "Hilary Bridel" <[EMAIL PROTECTED]> wrote:
>
> Hi Jamie,
> Not sure if I understand what you require, but did you know you can
> get a plain text representation of the html in the textarea using
> myTextArea.text
> 
> Hilary
> 
> --
> 
> On 11/5/06, jamiebadman <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I need to 'escape' the html text from a textArea to pass back to a
> > WebService. I wondered if anyone out there has already written a
> > convenient function to accomplish this in its entirety ? If you have
> > and you're willing to share, please let me know. If no one's done this
> > yet (and I'm not barking up the wrong tree entirely!) then I'll share
> > when I've done it.
> >
> > Anyway, let me know if you can help (or if I'm going in a wrong/stupid
> > direction).
> >
> > Cheers,
> >
> > Jamie.
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> 
> 
> -- 
> Hilary
> 
> --
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to