space
Previous Page | Next Page

MDDB Report Viewer 9.2

_OUTPUT_ADDTOFAV_FUNCTION_ Method

Outputs the addtofav JavaScript function on the toolbar page

When a user selects the Bookmark button, the addtofav function saves the URL in the browser's bookmark list.

Syntax

 CALL SEND(OBJID,'_OUTPUT_ADDTOFAV_FUNCTION_');

Example

The following output is produced:

function addtofav(varName){
  LinkName=window.document.title;
  with (window.parent.table_window) {
    linkUrl=eval(varName);
  }
  window.external.AddFavorite(linkUrl,LinkName);
}

Previous Page | Next Page | Top of Page