KrazyKid
01-30-2003, 01:00 PM
Hello,
I want to be able to send a string to JavaScript through an ASP tag such as
alert('Hello \n World');
But the HTML source code output from the asp Response.Write is syntacticly what I want, alert('Hello \n World') the javascript will output the alert as:
Hello /n World
What is the escape sequence code that I need for a JavaScript "/n" new line to be parsed correctly by both engines?
Make sense?
Thanks in advance!
I want to be able to send a string to JavaScript through an ASP tag such as
alert('Hello \n World');
But the HTML source code output from the asp Response.Write is syntacticly what I want, alert('Hello \n World') the javascript will output the alert as:
Hello /n World
What is the escape sequence code that I need for a JavaScript "/n" new line to be parsed correctly by both engines?
Make sense?
Thanks in advance!