User Guide
264 Chapter 14: Document
dreamweaver.revertDocument()
Availability
Dreamweaver 3.
Description
Reverts the specified document to the previously saved version.
Arguments
documentObject
• The documentObject argument is the object at the root of a document’s DOM tree, which is
the value that the
dreamweaver.getDocumentDOM() function returns.
Returns
Nothing.
Enabler
“dreamweaver.canRevertDocument()” on page 446.
dreamweaver.saveAll()
Availability
Dreamweaver 3.
Description
Saves all open documents, opening the Save As dialog box for any documents that have not been
saved previously.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.canSaveAll()” on page 446.
dreamweaver.saveDocument()
Availability
Dreamweaver 2.
Description
Saves the specified file on a local computer.
Note: In Dreamweaver 2, if the file is read-only, Dreamweaver tries to check it out. If the document is
still read-only after this attempt, or if it cannot be created, an error message appears.
000_DW_API_Print.book Page 264 Wednesday, August 20, 2003 9:14 AM