On 5/3/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
Can jQuery access the <HTML> node and add a class to it? Is this invalid XHTML?
Class is invalid on the HTML element, but you /can/ assign an ID. Given that there should never be more than one HTML element in a doc, this is less a restriction than just proper behavior, if you really think about it. I'm curious why you're going up so far, though. What are you doing that you couldn't just put a class on the body instead?