SyntaxFix
Write A Post
Hire A Developer
Questions
I don't think you can call
$.attr('checked',true);
because there is no element selector in the first place. $ must be followed by $('selector_name'). GOod luck!