December 2005
Robert’s talk » The Ultimate getElementsByClassName
by 5 othersTo get all a elements in the document with a “info-links” class.
getElementsByClassName(document, "a", "info-links");
To get all div elements within the element named “container”, with a “col” class.
getElementsByClassName(document.getElementById("container"), "div", "col");
To get all elements within in the document with a “click-me” class.
getElementsByClassName(document, "*", "click-me");
September 2005
June 2005
Simon Willison: getElementsBySelector()
by 2 others (via)Inspired by Andy, I decided to have a crack at something I've been thinking about trying for a long time. document.getElementsBySelector is a javascript function which takes a standard CSS style selector and returns an array of elements objects from the document that match that selector.
May 2005
April 2005
AttributeCrawler (neo-dzygn-com)
by 1 other (via)AttributeCrawler provides a good alternative for getElementsBySomething-style functions.
Cours de manipulation du DOM et DHTML
by 18 othersIl ne s'agit pas d'une bibliothèque d'effets "clé-en-main", mais plutôt de l'exposé des principes permettant la production d'effets les plus portables et adaptables possibles
1
(10 marks)