I have this alert that works:
But I want to turn the alert message into a multiline alert, and when I do this:
It doesn't work, any ideas what I'm missing here?
-- PS the timeout is set to 0 for testing purposes only, otherwise it would have a value of 10000
Code:
<script type="text/javascript"> var monitor = setTimeout("alert('The monitor is working!');",0); </script> </head>
Code:
<script type="text/javascript"> var monitor = setTimeout("alert('The monitor is working!\n\ntest line two');",0); </script> </head>
-- PS the timeout is set to 0 for testing purposes only, otherwise it would have a value of 10000
Comment