Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Enabling and Disabling buttons in APEX

Hello,

Just wanted to exchange some ideas regarding Enabling/Disabling buttons. Since there is no apex.button API method like apex.item, I've managed to achieve this using APEX instead of plain JS/jQuery in 3 ways

  • the Disable Action
  • giving the button an id and calling apex.item(btnID).disable
  • $x_disableItem(btnId, true)

Usually the first guy does the trick, but whenever an Ajax call is in play, it makes more sense to use the other two. Still, one is not for buttons and the other one fells like something they forgot to remove from the API :P

So, through the APEX JS API can we achieve this in some other way?

Comments
Post Details
Added on Jul 7 2023
4 comments
10,154 views