[jQuery] How to set the HTML background

[jQuery] How to set the HTML background


I want to be able to change the background of the page,
I can successfully do
$(document.body).css("background", "yellow");
but I have two separate css backgrounds, one sets the body tag and one sets
the html tag.
So how do I set the html tags background
I've tried
$(document.html).css("background", "yellow");
but it won't work :/
--
View this message in context: http://www.nabble.com/How-to-set-the-HTML-background-tp21252706s27240p21252706.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.












    • Topic Participants

    • lists