EvaluateJavascriptFinished – PB Docs 2021

EvaluateJavascriptFinished

PowerScript event

Description

Occurs after the EvaluateJavascriptAsync
function is executed.

Event ID

Event ID

Objects

None

WebBrowser controls

Arguments

Argument

Description

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.

error

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

AddressChanged

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