
508
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
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.
dreamweaver.canSaveFrameset()
Availability
Dreamweaver 3.
Komentarze do niniejszej Instrukcji