JavaScript


Posted by Phil on November 04, 2001 6:18 AM

sorry this isn't excel related, but, you guys seem to be on the ball, so i thought i'd post it.

in JavaScript i'm using the document.write function why does

document.write('phil');

work, but,

document.write('phil
was here
');

does not...?


Or if any1 know of a JavaScript message board that i can post it on.

thanxs

phil



Posted by Robb on November 05, 2001 2:19 AM

Phil

I know nothing about JavaScript, but would it work all on the one line - or is there
some reason to break on such short lines?

Regards