How can I call a button on a XPage to work from JavaScript (for example on a onclick event)?
In case I would try:
dojo.byId(”#{javascript:getClientId(’refreshnow_button’)}”).click()
the id (or name) of the button will change at rendiering.
what is the proper way?