Stuart has written a tastey new version of the illusive getElementsByClassName function. His version allows multiple classes, limiting to a specific tag and (thanks to yours truly) specification of AND/OR logic on the comparison. Nice.
Check it out in Stuart’s blog entry, “getElementsByClassName Deluxe Edition…”
The script has been tested in
most modern browsers.