I have a :hover style definition declared in the CSS stylesheet file:
.myclass:hover {
border-color: red;
background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/Om.svg/220px-Om.svg.png');
}
Now, under given conditions, I want to change the background-image for this hover style.
I don't know how to do this using JavaScript / jQuery. Is this possible? How?