SyntaxFix
Write A Post
Hire A Developer
Questions
For disabling a button add css class disabled to it . write
disabled
$("button").addClass('disabled')