Display file source: PUISAMPLES/QDDSSRC(DROPD005D)
RPGLE source: PUISAMPLES/QRPGLESRC(DROPD005R)
- pui.click() – 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. Sample usage:
- getObj() – retrieves a reference to the DOM (browser’s Document Object Model) element given an element ID. The function can be used to retrieve and set the content or CSS style of an element. Sample usage:
Note: In addition to attaching events to widgets, you may also attach events, such as onload and onsubmit, to the screen itself.