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

# Interface IGMExecJS

Description
Hierarchy
Fields
Methods
Properties

## Unit

GMLib.Classes

## 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

- IInterface
- IGMExecJS

## Overview

### Methods

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

## Description

### Methods

| `function GetJsonFromHTMLForms: string;`
Reads all fields of all HTML forms and returns a Json with their values. ###### Returns Json with the info.

| `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.