banner

API method

Retrieves a reference to the API object.

Syntax

window.external.API;

Parameters None
Return Values Object. A reference to the API object.
Applies To window.external
Example
var Obj = window.external.API;
var sContents =  Obj.LoadFile("mytext.txt");
alert(sContents);