Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

EvaluateJavascriptFinished – PB Docs 2022 – PowerBuilder Library

EvaluateJavascriptFinished – PB Docs 2022

EvaluateJavascriptFinished

PowerScript event

Description

Occurs after the EvaluateJavascriptAsync
function is executed.

Syntax

Event ID

Event ID

Objects

None

WebBrowser controls

Arguments

Argument

Description

isFinish

Evaluates whether all JavaScript codes are executed.
The values are:

  • TRUE — All JavaScript codes are executed.

  • FALSE — Not all of the JavaScript codes are
    executed.

result

The result of script execution. The execution result
is represented in JSON format. The supported JavaScript data types
are bool, int, double, string, date, array. When the above types
are mapped to the PowerBuilder data types, they are boolean,
integer, double, string, datetime, array. If there is no result,
“null” will be displayed.

errormessage

The error information if an error occurs during
execution or an empty string if there is no error.

Return Values

None

Examples

The following example shows that the EvaluateJavascriptFinished
event parses the JavaScript execution result via the JSONParser
object:

See also

AddressChange

CertificateError

DownloadingStart

DownloadingStateChanged

NavigationError

NavigationProgressIndex

NavigationStart

NavigationStateChanged

PdfPrintFinished

ResourceRedirect

TitleTextChanged


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x