ExecuteJavaScript

From Xojo Documentation

Method


Executes the JavaScript passed. The JavaScript passed can call a JavaScript function in a WebPageSource control.

Notes

This global method tries to determine which control in which it is supposed to run. In general, calling the JavaScript from inside the intended control (using WebControl.ExecuteJavaScript) is preferable.

Usage

ExecuteJavaScript(JavaScript As String)

Part Type Description
JavaScript String The JavaScript to be passed. It can call a JavaScript function in a WebPageSource control.

See Also

WebPageSource, WebControl, WebControl.ExecuteJavaScript