ExecuteWebJS: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription|Executes Javascript in the WebUI.}} | {{FuncDescription|Executes Javascript in the WebUI. (Make sure to first call this after all your js is loaded by sending an event from js.)}} | ||
{{FuncSyntax|ExecuteWebJS(web, Javascript)}} | {{FuncSyntax|ExecuteWebJS(web, Javascript)}} |
Revision as of 14:33, 10 July 2020
Description
Executes Javascript in the WebUI. (Make sure to first call this after all your js is loaded by sending an event from js.)
Syntax
ExecuteWebJS(web, Javascript)
Parameters
- web
The web identifier. - Javascript
The Javascript source.
Return Value
- This function returns true if the web identifier is found. It does not return the return values from JS as this whole process is asynchronous.
Example
__EDIT_ME__
See also
__EDIT_ME__