I get JavaScript errors. Seems like JavaScript doesn't like the linefeed characters provided in the string by a VbLf. However, if I view my rendered source, it looks fine and the linefeed
is working. Can I pass a line feed in my JavaScript string another way? Do I need to start a new line after the last ";" of a line of JavaScript? Thanks for the assist.
1. no, you can get away without linefeeds in JS if you are careful 2. i can never remember those vb constants, i think the names are ridiculous, there is something like vbcrlf that gives both carriage return and linefeed -- i just use Chr(13) & Chr(10) instead
Hondaman900
Participant
1136 Points
228 Posts
Passing linefeeds in string variable generating JavaScript
Aug 01, 2003 05:56 AM|LINK
rox.scott
Contributor
6080 Points
1214 Posts
Re: Passing linefeeds in string variable generating JavaScript
Aug 01, 2003 06:23 AM|LINK