pui.click( id )
This 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
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!