ClientActionEx - cWebObject

Adds a client action to the response that will be executed on the client

Type: Procedure

Parameters: String sName String[] aOptParams Handle hoOptJsonAttachment

ParameterDescription
sNameName of the method to call on the client (can contain object specification like this. or window.)
aOptParams(optional) Parameters to pass to the client method
hoOptJsonAttachment(optional) Handle to a cJsonObject that is sent as attachment and will be available as _tActionData on the client during the ClientAction


Syntax
Procedure ClientActionEx String sName String[] aOptParams Handle hoOptJsonAttachment

Call: Send ClientActionEx sName aOptParams hoOptJsonAttachment


Description

Adds a client action to the response that will be executed on the client.

A client action executes a JavaScript function on a specific object. If no object (window. or this.) is specified, it will be executed on the JavaScript object presentation of this web object.

Client actions are asynchronous!

Also see ClientAction.