I am at a loose end as to why my code is not hiding when i untick. I would be grateful if someone could check my code and point out where I am going wrong. I have posted code here. many thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can juse use
this.checkedA slightly better version would use
.toggle([showOrHide])Side note, don’t forget your
"when using an attribute selector.Example on jsfiddle