JavaScriptSearch Monday, May 8, 2006; 04:49 AM
Web developer Jack Sleight has created a handy reference for all the various getElementsBy*() JavaScript functions that are out there, from the DOM standard getElementById to the very advanced getElementsBySelector functions. The reference is available online at http://www.getelementsby.com/.
"It's near impossible to write any useful scripts that use the DOM without these functions" says the reference creator. That is why he documented the different methods available and made the service available free of charge. The site itself is an example of AJAX technology and uses the Prototype and Moo.fx JavaScript libraries in order to increase usability.
The online reference breaks up the functions into the following categories: getElementById getElementsByName getElementsByTagName getElementsByTagNames getElementsByClassName getElementsBySelector getElementsByAttribute getElementsByAnything
Clicking on any category expands a list of entries. Each of the 18 entries is described by its name, creator, syntax, and browser compatibility. Links to existing documentation are provided.
|