I used to bind event to my button like :
$("input[name=add]").live("click",function(){...});
But I got another function to make them "enable" and "disabled" like :
RefreshBox() {
$("input[name=add]").each(function(){
if(...)
$(this).attr("disabled","disabled");
else
$(this).attr("disabled","");
})
}
But in fact that it doesn't work as I expected. Buttons are still can be click and the event still works smoothly.
PS: jQuery 1.4.1 Browser: IE8 , after button disabled still can work. Browser: Chrome, disabled button success.