ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
True if the Javascript code was transmitted for execution to the control,False otherwise.
Name of the HTML Display control on which the JavaScript script will be executed.
JavaScript code to execute. This code is run in asynchronous mode. The result of the code execution can be retrieved via the <WLanguage procedure> parameter. The value returned by the JavaScript code corresponds to the value of the expression found in the last line of code. Do not use "return". The expression to be retrieved must be a string.
WLanguage procedure ("callback") used to find out the result of code execution. This procedure has the following format: PROCEDURE <Procedure name>(bSuccess is boolean, ReturnValue is string) This procedure is called once the JavaScript code has been executed. The parameters of this procedure are: <bSuccess>: True if the JavaScript code was successfully executed,False if the execution of JavaScript code generated an error (e.g., error in the JavaScript code). In that case, to get the details of the error, use ErrorInfo. Remark: A detailed error is returned. A generic error is returned. <ReturnValue> contains the value of the last expression of the JavaScript code (returned value).
Use conditions
Calling WLanguage code from the Javascript code
Last update: 03/30/2021
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: