How can I change not only background image but also set additional properties?
Meaning, I have this code, that works fine:
document.getElementById(id).style.backgroundImage = "url('image.png')";
But this fails:
document.getElementById(id).style.backgroundImage = "url('image.png') no-repeat center center";
How can I add the additional properties to it?
Thanks in advance.