I have a element with following style:
.element {
background: transparent url(backgroundimage1.png) no-repeat,
transparent url(backgroundimage2.png) no-repeat;
}
Is it possible to change only the second background url using JavaScript or jQuery without a lot of code?
$('.element').css('background', 'transparent url(backgroundimage1.png) no-repeat, transparent url(newimage.png) no-repeat');