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?