cadetill's blog Copyright © Xavier Martínez (cadetill)

Interface IGMExecJS

Unit

Declaration

type IGMExecJS = interface(IInterface)

Description

Interface that defines the method to call to execute a JavaScript function.

Attributes
GUID['{C1C87DC5-BDFD-4AA1-9BF7-C5FF01290339}']

Hierarchy

Overview

Methods

Public function GetJsonFromHTMLForms: string;
Public procedure ExecuteJavaScript(FunctName, Params: string);

Description

Methods

Public function GetJsonFromHTMLForms: string;

Reads all fields of all HTML forms and returns a Json with their values.

Returns

Json with the info.

Public procedure ExecuteJavaScript(FunctName, Params: string);

Execute the JavaScript function FunctName with parameters Params.

If executed succefully returns True, otherwise False.

Parameters
FunctName
JavaScript function name to execute.
Params
Function parameters.

Generated by PasDoc 0.15.0.