Portlet Factory, Version 6.1.2
Client-side JavaScript access to event arguments
In the Client Event Handler builder, if you specify Run a script in the Action Type input, you can access event arguments from the client-side JavaScript. When the Client Event Handler builder is used to handle an event which has arguments, the event arguments are set as properties of the this object available to the event handler code. (The handler is actually a method of an object whose properties are the event arguments.) For example, a script can display the id event argument as shown in the following code.
alert("Caught event: id = " + this.id)Parent topic: Client Event Handler builder
Library | Support |