Answers for "how to change a background in javascript"

9

javascript change background color

document.body.style.backgroundColor = "yellow";
Posted by: Guest on July-08-2020
0

change background with js

document.getElementById("myDIV").style.background = "url('smiley.gif') blue repeat-x center";
Posted by: Guest on March-16-2021

Code answers related to "how to change a background in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language