I always found that paragraphFormat never worked the way I wanted it to - hence I wrote that small nl2br (name should be familiar to all PHP programmers ;o) )
Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > I quote.... > > <snip> > ParagraphFormat(string) > > Description > Replaces characters in a string: > > Single newline characters (CR/LF sequences) with spaces > Double newline characters with HTML paragraph tags (<p>) > </snip> > > GC > > Original Message: > ----------------- > From: Taco Fleur [EMAIL PROTECTED] > Date: Thu, 29 Apr 2004 15:11:40 +1000 > To: [EMAIL PROTECTED] > Subject: [cfaussie] RE: TextArea Input > > > paragraphFormat() > > Or convert chr(13) and chr(10) (I believe) to <br> > > -----Original Message----- > From: Andrew Scott [mailto:[EMAIL PROTECTED] > Sent: Thursday, 29 April 2004 3:08 PM > To: CFAussie Mailing List > Subject: [cfaussie] TextArea Input > > > > Brain drain on this... > > Can anyone remind me how to capture the returns in this, so that when it is > displayed the message is displayed as it is typed.... Been a long time since > I have done this:-) > > > Regards > Andrew Scott > Technical Consultant > > NuSphere Pty Ltd > Level 2/33 Bank Street > South Melbourne, Victoria, 3205 > > Phone: 03 9686 0485 - Fax: 03 9699 7976 > > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
