On Jul 7, 2006, at 1:09 PM, Jason Bunting wrote:I wrote the following function: function getAllByNodeAttribute(attribute, value) { var elements = []; MochiKit.Base.nodeWalk(MochiKit.DOM._document, function(elem) { if(getNodeAttribute(elem, attribute) != null && getNodeAttribute
> getNodeAttribute is for getting DOM attributes. tagName is not a DOM
> attribute (in this example, "id", "cssStyle", "minValue, "maxValue"
> are the only attributes), it's an attribute of the DOM node object
> itself.
Duh! Yeah, you'd think I would have realized that it is not an attribute -