just wondering why my syntax isn't working here..
this doesn't work...
but this does.....PHP Code:function setBg() {
el = document.getElementsByTagName('body');
el.style.backgroundColor = "#f9f363";
}
PHP Code:function setBg() {
document.body.style.backgroundColor = "#f9f363";
}


Reply With Quote

Bookmarks