I want to add (prototype) a method to the node list returned by document.getEle mentsByName() (and related, i.e. NodeList resp. HTMLCollection) .
unfortunately, neither the NodeList nor the HTMLCollection interface seem to be prototypable in Firefox. (NodeList works in Safari & Opera, don't know about IE)
has anyone of you an idea how to solve this?
note: this matter has already been discussed, though I didn't find any solution to this problem. (beside prototyping into Object interface).
unfortunately, neither the NodeList nor the HTMLCollection interface seem to be prototypable in Firefox. (NodeList works in Safari & Opera, don't know about IE)
has anyone of you an idea how to solve this?
note: this matter has already been discussed, though I didn't find any solution to this problem. (beside prototyping into Object interface).
Comment