Dreamweaver MX; added documentType argument in Dreamweaver 8.
Provides access to the editable tree for a new, empty document. This function works in the same way as the getDocumetDOM() function, except that it points to a new document, not an existing one, and does not open the document.
{documentType}
documentType argument is a string. Its value must be a document type specified in the DocumentTypes.xml file.
A pointer to a new, empty document.
The following code returns the DOM for a new, empty document:
var theDOM = dreamweaver.getNewDocumentDOM();
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/14_doc23.htm