Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Set the bgcolor attribute value


Rain_Lover - 3:54 pm on Jul 26, 2011 (gmt 0)


You can often set the property directly:
document.getElementById("foo").bgcolor = "#00FF00";
(If the property name is the same as the attribute. Case-sensitive, so 'bgcolor' is different to 'bgColor' in this instance.)


Tried both to no avail. Thanks a lot all the same! :)


Thread source:: http://www.webmasterworld.com/javascript/4342720.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com