Hi Folks
I cant get access to books on line at the moment but I cant get to this
newsgroup, so I have a question.
We are passing a string of text to a textbox from which the value is popped
up by the web page if there is anything in it.
The problem is we want to have newlines "\n" in the javascript alert, but
these are treated literally in the translation. What can I do to ensure the
new lines make it into the alert.
this.MyTextBox. Text = "LineOne\nLineT wo";
///// ON CLIENT SIDE
alert( $get(MyTextBox) .value );
Thanks
I cant get access to books on line at the moment but I cant get to this
newsgroup, so I have a question.
We are passing a string of text to a textbox from which the value is popped
up by the web page if there is anything in it.
The problem is we want to have newlines "\n" in the javascript alert, but
these are treated literally in the translation. What can I do to ensure the
new lines make it into the alert.
this.MyTextBox. Text = "LineOne\nLineT wo";
///// ON CLIENT SIDE
alert( $get(MyTextBox) .value );
Thanks
Comment