does it only work on document ? i tried it on some nodeList and it buged. Meithal 12:35, 17 November 2007 (PST)

As far as I can tell it's only on documents (and most definitely not on NodeList). A better alternative if you want something that will also select elements from an element's descendants is getElementsByTagName, which is on both documents and elements. --Waldo 06:40, 20 November 2007 (PST)

Document Tags and Contributors

 Contributors to this page: Waldo, Meithal
 Last updated by: Waldo,