[mochikit] Re: Problem with FF seeing all nodes in document...

2006-07-07 Thread Bob Ippolito
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

[mochikit] Re: Problem with FF seeing all nodes in document...

2006-07-07 Thread Jason Bunting
> 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 -