I have this style property in my css file:
.table tbody tr:hover th,
.table tbody tr:hover td { background: #d1e5ef; }
I would like to remove this via jquery, how would I go about doing this? I tried removeClass and attr but doesnt 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.
You need to add some more css to make this work:
You would add the class
.no-hoverusing$(selector).addClass('no-hover'). This will style them differently than the other:hoverdefinitions you have. You may have to use an explicit color to make this work.