I have an XPage, with a xp:button, disabled by default. This changes programmaticaly with client side js, with:
document.getElementById("#{id:buttonID}").disabled=false;
It works fine.
Now... I wanted to use the better looking xe:djButton instead.
The code above now fails.