Wrox Programmer Forums
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 6th, 2005, 03:45 AM
Friend of Wrox
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default break up line

How can i break this up into new lines, i.e. a '_' character?
str+="<td align='center'><a href='display_fare_search2.asp?air_cds="+ arr[f][1] +"&contract_id="+ arr[f][0] +"&contract_title="+arr[f][7]+"'>" + arr[f][0] + "</a></td><td align='left'>" + arr[f][1] + "</td>"+"<td align='left'>" + arr[f][2] + "</td>"+"<td align='center'>" + arr[f][3] + "</td>"+"    <td align='center'>" + arr[f][4] + "</td>"+"<td align='center'>" + arr[f][5] + "</td>"+"<td align='right'>" + arr[f][6] + "</td>"+"<td align='center'>" + arr[f][7] + "</td>"+"<td align='center'>" + arr[f][8] + "</td>"

Ayrshire Minis - a Mini E-Community
Old June 6th, 2005, 06:54 AM
Friend of Wrox
Join Date: Apr 2005
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts


In any language with a statement terminator(here it is ;), you can write multiple lines statments.
str = 'asdasd' +
     'bcdef' +

Is allowed, So you dont need an "_" in such languages as in VB.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Break in CrossTab timothyc Crystal Reports 0 March 12th, 2008 09:25 PM
result line break. cowbell1 Java Basics 1 October 18th, 2007 05:28 AM
line break Cyber Shiva HTML Code Clinic 1 May 17th, 2007 06:04 AM
line break on email sent Maxxim BOOK: ASP.NET Website Programming Problem-Design-Solution 2 September 4th, 2006 04:07 PM
line break problem XSLT 1 February 20th, 2006 11:18 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.