Specifications

The Dreamweaver JavaScript API 423
dreamweaver.canSaveDocumentAsTemplate()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can perform a Save As Template operation on the specified
document.
Arguments
documentObject
documentObject
is the root of a documents DOM (the same value that
dreamweaver.getDocumentDOM() returns).
Returns
A Boolean value that indicates whether the document can be saved as a template.
dreamweaver.canSaveFrameset()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can perform a Save Frameset operation on the specified document.
Arguments
documentObject
documentObject
is the root of a documents DOM (the same value that
dreamweaver.getDocumentDOM() returns).
Returns
A Boolean value that indicates whether the document is a frameset with unsaved changes.
dreamweaver.canSaveFramesetAs()
Availability
Dreamweaver 3
Description
Checks whether Dreamweaver can perform a Save Frameset As operation on the specified
document.
Arguments
documentObject
documentObject
is the root of a documents DOM (the same value that
dreamweaver.getDocumentDOM() returns).
Returns
A Boolean value that indicates whether the document is a frameset.