alert("this message\nwill appear on two lines");

Does that help?

Erik

Shen, Lei wrote:

Hello, all:


I have some code like this: <script> data = use bean:write or nested:write here alert(data); </script>


The problem is that javascript does not allow:

        data ="ab
                c";

How to replace return in a string while use nested:write and bean:write 
automatically?

Thanks
Lei

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to