Spencer Killen wrote:Nope 'document.write() can be called even after the page is full loaded
While it
can be called after the DOM has been built, it replaces the previous document with the passed value making it pretty useless in most cases.
To answer the OP, the DOM is an aspect of the document object. There's no reason the object cannot be available while its DOM is being built.