I use in my webpage the css description
body {
font-size: 12px;
font-family: Sans-Serif;
background: url(images/diffdummy.png) no-repeat center center fixed;
overflow: hidden;
display: block;
margin-left: auto;
margin-right: auto;
}
How I can remove the background image with java script on runtime? I tried
document.getElementById("html").style.background="";
document.getElementsByTagName("html").style.background="";
document.getElementsByTagName("html")[0].style.background="";
But nothing is working. Anybody here who can give me a hint?
document.body.style.background = 'none'