plugin.getCurInfoItem

The 'getCurInfoItem' function retrieves SSG path to the currently selected info item.

  • Prototype: plugin.getCurInfoItem(iDbPos);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
  • Return Value: SSG path to the current info item on success, or empty string on failed.
  • Example:
    alert(plugin.getCurInfoItem(-1));