SyntaxFix
Write A Post
Hire A Developer
Questions
I would just query for the for attribute instead of repetitively recursing the DOM tree.
for
$("input:checkbox").on("change", function() { $("label[for='"+this.id+"']").text("TESTTTT"); });