Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

long array values causing "unterminated string constant" error

Status
Not open for further replies.

redrockgrp

Programmer
Jul 19, 2000
2
US
Hi all!

I'm passing an ASP string to javascript to create an array:

arrRptNum = new Array( <% = strRptNum %> );

My problem is that my string is about 4000 characters long and when the page generates it comes up with an &quot;unterminated string constant&quot; error because its not wrapping properly.

Any help, suggestions, advice is greatly appreciated!

Tracy tlp@consultant.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top