EvalJavaScript |
Type | handler |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | EvalJavaScript(<pScript>)
|
Associations | com.livecode.emscripten |
Summary | Evaluate JavaScript code within the browser
|
Parameters | Name | Type | Description |
---|
pScript | | The script to evaluate
|
|
Example | public handler GetInputText() returns String
return EvalJavaScript("document.getElementById('myText').value")
end handler
|
Values | Name | Type | Description |
---|
return | | A value of any type
|
|
Description | Use EvalJavaScript to get the result of running a block of JavaScript code
|