GetPageJavaScriptA

Color, JavaScript, Page properties

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetPageJavaScript and string arguments are interpreted using the current SetAnsiMode code page

Retrieves the JavaScript linked to the specified page event.

Syntax

Delphi

Function DLGetPageJavaScriptA(InstanceID: Integer; ActionType: PAnsiChar): PAnsiChar;

DLL

const char* DLGetPageJavaScriptA(int InstanceID, const char* ActionType);

Parameters

ActionTypeRetrieves the JavaScript linked to this action: "O" = (capital letter O) This event occurs when the page is opened "C" = This event occurs when the page is closed