revBrowserCallScript | |||||||||||||
Type | function | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Summary | Calls a web script function in the current browser object | ||||||||||||
Introduced | 3.5 | ||||||||||||
OS | mac, windows | ||||||||||||
Platforms | desktop | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Related | Function: revBrowserExecuteScript, base64Encode, revBrowserOpen Glossary: function | ||||||||||||
Security | network | ||||||||||||
Description | Use the revBrowserCallScript function to call a web script function in the context of the current document in the specified browser object. The revBrowserCallScript function currently searches for and calls JScript functions on Windows and JavaScript functions on OS X. If the function is not found or calling it is not successful, then an "error in script" exception is thrown.
If you want to execute some arbitrary JavaScript, rather than call an existing function, use the revBrowserExecuteScript function instead. The revBrowserCallScript function will return whatever the function called returned.
|