Why is this new line char not working ?


<head>

<script>
function test()
{ data = 'string1'+'\n'+'string2';
return (data);}
</script>

</head>

<body>

<script language="javascript">document.write(test())</script>

</body>


Thanks & Greetings