Seeking guidance on implementing a two-background div setup where A
is constantly displayed within the element and toggling B
based on button control click.
HTML
<div class="container"></div>
CSS
.container{
url(B.png) 10px 10px no-repeat,
url(A.png) 600px 10px no-repeat,
}
JQUERY
$('.container').on('click', function(){
//$(this).css("background","A.png")? add/removeClass?
});
Looking for assistance in achieving this implementation.