I’m attempting to update the css within a div using its id via :
$(this.id).removeClass("myCss");
Should’nt this work ?
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.
Your selector is wrong:
Or, if you want to use the
id, you’d need to concatenate it in:But that’s really not necessary if
thisreferences your element to begin with.