March 29, 2024

Dynamic Windows Function [dw_html_javascript_run]

Syntax

int dw_html_javascript_run(HWND handle, char *script, void *scriptdata)

Parameters

HWND handle: Handle to the HTML window.
char *script: Javascript code to execute.
void *scriptdata: Data passed to the signal handler.

Returns

int DW_ERROR_NONE (0) on success.

Description

Executes the javascript contained in "script" in the HTML window.

Remarks

This API was introduced in version 3.1.