<SCRIPT>
alert("line1\r\nline2\r\nline3");
</SCRIPT>
"\r\n" stands for carriage Return and New line. On Netscape, only the
\n may be necessary but with Explorer, you need both. To be compatible with both
always use the combination "\r\n".
Written and compiled by Réal Gagnon ©1998-2012
[ home ]