pui.click( id )



ssKeyThis function submits a response to the server. This API can accept an optional parameter containing an ID or an object reference to a button, or a similar element, that has a bound response property to be sent to the server.

Parameters:

  • id – ID or an object reference to a button, or a similar element, that has a bound response property to be sent to the server.

  • skipJS (optional) - by default, a button's "onclick" event will take precedence over the "response" property, so that if both are defined, the "onclick" event will fire and control will not return to the server. If boolean true is passed for this parameter, the "response" property will be processed, ignoring the "onclick" event.

Example:

pui.click(); //send response to server pui.click("Exit") //send response to server by triggering the Exit button