window.onload = function() { document.getElementsByClassName("button")[0].style.background='#000000'; }