I want to disable certain <p:button /> in javascript. Previously by using primefaces 3.0.M1 i able to disable my button with below code
function disableButton(buttonID) {
jQuery("#" + buttonID).addClass("ui-state-disabled");
document.getElementById(buttonID).disabled = true;
}
but after i upgraded to primefaces 3.0.M4, this javascript cannot use anymore. Can anyone know the problem?
Thanks,
Teoh
disable <p:button/>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 47 guests