disabled is a boolean attribute $('.apply-badge-button').attr("disabled","disabled"); http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.3.4.2 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20110926/0a323671/attachment.html>