plugin.runDomScript

The 'runDomScript' function evaluates the given script code within the current document's DOM space.

  • Prototype: plugin.runDomScript(iDbPos, sCode);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
    2. sCode: js code to run in the DOM space.
  • Return Value: depends on the return value of the DOM js code.
  • Example:
    plugin.runDomScript(-1);