This may seem an easy thing to do but for some reason I cant get it to work.
all I want to do is write on seperate lines. this is what I have and it wont work:
<script language=“javascript” type=“text/javascript”>
document.write(‘line1’);
document.write(‘line2’);
</script>
This wont work either:
<script language=“javascript” type=“text/javascript”>
document.write('line1
');
document.write('line2
');
</script>
Nor will this:
<script language=“javascript” type=“text/javascript”>
document.write(‘line1 \r’);
document.write(‘line2 \r’);
</script>
or even this:
<script language=“javascript” type=“text/javascript”>
document.write(‘line1
\r’);
document.write(‘line2
\r’);
</script>
I am NOT new to javascript at all, and I really cannot understand whats going on here
Thanks in advance.