Difference between revisions of "document.markChanged"
Jump to navigation
Jump to search
(→Syntax) |
|||
Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
− | document.'''markChanged()''' | + | document.'''markChanged()'''<br /> |
'' No arguments'' | '' No arguments'' | ||
− | <br> Turns the 'changed' flag on. | + | <br> Turns the 'changed' flag on. |
− | |||
== Example == | == Example == |
Revision as of 11:45, 31 May 2011
document.markChanged is a function that is part of the Document Library.
The function flags the current document as changed. It will ask you to save it when you close it.
Syntax
document.markChanged()
No arguments
Turns the 'changed' flag on.
Example
--[[
Code that modifies the current document
..
..
--]]
document.markChanged() --ask the user to save the document when closing it