EditLive! 9 Documentation : isEditableSectionDirty Method

This method returns a string depicting whether the current contents of an editable section have changed since the content was initially loaded into the editor. 

Info

This method was introduced in EditLive 9.0.3.65

Syntax

JavaScript
boolean editliveInstance.isEditableSectionDirty(sectionId);

Parameters

sectionId

String. ID of the section to get the dirty status for. This is the same value used to create the section with the addEditableSection method.

Returns

true if the contents of the section have changed since first being initialized.

Throws an error if the section is not found.