SyntaxFix
Write A Post
Hire A Developer
Questions
Try this!
$("#test *").attr("disabled", "disabled").off('click');
I don't see you using jquery above, but you have it listed as a tag.