JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 28th, 2004, 12:40 PM
shawn shawn is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 shawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
line breaks

Perhaps someone has had this problem before...

My db table has a Notes field, which consists of notes entered by the user.
Obviously, the user didn't type straight in...but used line breaks for readability.

Now, the db stores the information like that, with the line breaks.

However, when I pull it out to display it in another textarea, I get an error.


Is it possible to pull this information out and display it as it was once entered...with the line breaks.
If so, how?


Thanks.
Shawn.

Reply With Quote
  #2  
Old July 28th, 2004, 01:48 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
First, do a search. This has been covered in some languages already. Second, what language are you using? Third, what's the error? Please provide as much information as possible as concisely as possible when posting so that people can help you with minimum expended effort and time.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old July 28th, 2004, 02:16 PM
shawn shawn is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 shawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
1. I did a search here for 'line break' and came up with nothing helpful.

2. Coldfusion, Access database, Javascript

3. The error varies...expected '/', expected ';', or expected ')'



I can parent.framename.document.formname.fieldname.value = 'blah \n blah';
and get the proper results.

The problem I think is with how Coldfusion returns it. So I guess I will try to find a coldfusion forum to hit up.

Thanks
Shawn.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > line breaks


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway