4D v16.3WA EXECUTE JAVASCRIPT FUNCTION |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
WA EXECUTE JAVASCRIPT FUNCTION
WA EXECUTE JAVASCRIPT FUNCTION
The WA EXECUTE JAVASCRIPT FUNCTION command executes, in the Web area designated by the * and object parameters, the JavaScript function jsFunction and optionally returns its result in the result parameter. If the function does not return a result, pass * in the result parameter. You can pass one or more parameters containing the parameters of the function in param. The command supports several types of parameters for both input (param) and output (result). You can pass and retrieve data of the number, date, object and string types. Calling a JavaScript function with 3 parameters:
$JavaScriptFunction:="TheFunctionToBeExecuted" The "getCustomerInfo" JavaScript function receive a number ID as parameter and returns an object: C_OBJECT($Result)
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v11 SQL Release 2 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||