User Guide
Enablers 571
Arguments
None.
Returns
A Boolean value that indicates whether one or more unsaved documents are open.
dreamweaver.canSaveDocument()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save operation on the specified document.
Arguments
documentObject
■ The documentObject argument is the root of a document’s DOM (the same value that
the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document has any unsaved changes.
dreamweaver.canSaveDocumentAsTemplate()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save As Template operation on the
specified document.
Arguments
documentObject
■ The documentObject argument is the root of a document’s DOM (the same value that
the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document can be saved as a template.
000_DW_API_Print.book Page 571 Wednesday, July 20, 2005 11:58 AM