The 'setDomDirty' function sets the 'Dirty' flag for the current HTML content if needed.

  • Prototype: plugin.setDomDirty(iDbPos, bDirty);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
    2. bDirty: true to set the dirty flag; false to clear the dirty flag.
  • Return Value: undefined
  • Example:
    plugin.setDomDirty(-1, true);