Menu
just wondering why my syntax isn’t working here..
this doesn’t work…
[code=php]function setBg() {
el = document.getElementsByTagName(‘body’);
el.style.backgroundColor = “#f9f363”;
}
but this does…..
[code=php]function setBg() {
document.body.style.backgroundColor = “#f9f363”;
}