get element by id javascript background image code example
Example: js style background image by id
document.getElementById('Demo').style.backgroundImage = "url('Test.png')";
document.getElementById('Demo').style.backgroundImage = "url('Test.png')";