Forum

jonas.rausch
Participant
    Has successfully completed the online course Introduction
    Has successfully completed the online course Intermediate (200)
    Has successfully completed the online course Advanced (300)
6 years ago #18070
Up
0
Down
::

Hi Julia,

 

Could you describe your use case in a few words?

 

If you are using a Ui5 button, you can call the press event via script like this:

sap.ui.getCore().byId(“[buttonID]”).firePress()

 

If its a “normal” Html button, you first need to attach a press event via script and then fire it via script.