View Full Version : document.open and document.writeIn

12-14-2007, 04:27 PM
Hi i wanted to know if:
1- i can open an external text/html document with .open by typing - document.open('htmlfiles/mydoc.html')? what does document.open really do?
2- what about writeIn? i read it inserts a newline character at the end. but i'm not too sure on what that means exactly


Philip M
12-14-2007, 06:24 PM

12-14-2007, 08:32 PM
1. Overwrites the current web page to start creating a new one.

2. Inserts a line feed at the end of the source code that the web browser will treat as a space.