News and Information Blog
home << Programming << Javascript << auto find all elements by class

Fri, 30 Nov 2007

Find All Elements By Class
A function that returns an array of elements based on DOM element, tag, and class name. For instance, getElementsByClassName(document, 'tr', 'info') will return an array of all "tr" tags under the document node having the "info" class.

Read more here


edit: Programming/Javascript/auto___find_all_elements_by_class.wikieditish...

Password:
Title:
Body:
Link | Image | Paragraph | BR | Return | Create Amazon link | Technorati tag
Technorati tag?:
Delete this item?:
Treat as new?:
home << Programming << Javascript << auto find all elements by class