what is the escape code for NEW LINE

G

Guest

I have tried to use

document.write("\n");

but this does mot seem to work!

please help

thank you

Jason
 
J

Jens Peter Karlsen[FP-MVP]

In html you break a text string with <br>.
So instead you would write like this:
document.write("some text<br>more text");

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
M

MD Websunlimited

What is the context of the write statement?

If HTML use <br>
If inside of elements you may wish to use %0A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top