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

WebMessageReceived – PB Docs 2022 – PowerBuilder Library

WebMessageReceived – PB Docs 2022

WebMessageReceived

PowerScript event

Description

Occurs when a message sent by JavaScript on the web is
received.

You can send a message from Web (JavaScript) to the PowerBuilder
application (PowerScript) by executing the following JavaScript on the
web:

Or

Syntax

Event ID

Event ID

Objects

None

Webbrowser controls

Arguments

Argument

Description

uri

The URI of the DOM webpage that sends this
message.

isJson

Whether the message is in the JSON
format.

TRUE indicates that the message is in the JSON
format; FALSE indicates the message is not in the JSON
format.

webmessage

The received message, which can be in the JSON format
or a string.

Return Values

None

Examples

This example shows how a message sent by JavaScript on the web is
received.

See also

AcceleratorKeyPressed

ContentLoading

HistoryChanged

DOMContentLoaded

NavigationCompleted

EstimatedEndTimeChanged

IsDefaultDownloadDialogStateChanged


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