Speaking of getElementsByClassName, here's something I didn't quite get from
the documentation.
Is the root node included or not?
And for any or all of the Elements methods.
This example is for Class, but you know what I mean.
We want to get this right so poor Kevin doesn't have to spend a week tracking
it down.
Here is an example and note the inconsistency.
I do remember reading docs about querySelectorAll so I'm pretty sure that one
is right.
test1=document.createElement("div"),test2=document.createElement("div"),test1.appendChild(test2);
test1.classList.add("snork"),test2.classList.add("snork")
test1.getElementsByClassName("snork").length
test1.querySelectorAll(".snork").length
Karl Dahlke