J
John W. Kennedy
Is there any way at all of either setting or getting body.class that
will work on never-to-be-sufficiently-damned IE?
will work on never-to-be-sufficiently-damned IE?
John said:Is there any way at all of either setting or getting body.class that
will work on never-to-be-sufficiently-damned IE?
RobG said:Try:
var theBody = document.body || document.documentElement;
alert(theBody.className);
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.