Adobe 38040334 API Reference - Page 247
dreamweaver.saveDocument, is omitted in Dreamweaver 4
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 247 highlights
DREAMWEAVER CS3 242 API Reference Enabler See "dreamweaver.canSaveAll()" on page 450. 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. Arguments documentObject, {fileURL} • 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. • The fileURL argument, which is optional, is a URL that represents a location on a local computer. If the URL is relative, it is relative to the extension file. In Dreamweaver 2, this argument is required. If the fileURL argument is omitted in Dreamweaver 4, the file is saved to its current location if it has been previously saved; otherwise, a Save dialog box appears. Returns A Boolean value that indicates success (true) or failure (false). Enabler See "dreamweaver.canSaveDocument()" on page 450. dreamweaver.saveDocumentAs() Availability Dreamweaver 3. Description Opens the Save As dialog box. 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.
![](/manual_guide/products/adobe-38040334-api-reference-b593776/247.png)