I have a :hover style definition declared in the CSS stylesheet file:
.myclass:hover {
    border-color: red;
    background-image: url('http://goo.gl/zdLfy');
}
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?