I'm using this css:
#hideSidebarText:hover > #hideSidebarArrows {
background-position: -282px -51px;
}
how can I change the "background-position" property using JQuery? I tryied the following code but obviously didn't worked:
$('#hideSidebarText:hover > #hideSidebarArrows').css('background-position', '-282px -31px');
:hoverpseudo selector doesn't work in javascript/jQuery.