Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

java script expert needed
 

Russ




quote this post edit post

IP Loged report this post

Old Post  09-30-04 - 04:15 AM  
Hello,

I'm working on a dynamic site i came across this pice of code
<%if(!isEmpty(card.bottomtext)){%><p><%=card.bottomtext.replace(/\n/g,"
<p>")%></p><%}%>

what it appears to be doing is this
<p>text, text.
<p>
<p>text, text.</p>

and i dont know why the above text is in the db like this

text, text.

text, text.

Im trying to fix it to do this
<p>text, text.</p>
<p></p>
<p>text, text.</p>

or
<p>text, text.</p>
<p>text, text.</p>

Any help is greatly appreciated.

thank you


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 06:01 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top