My treewalker is simply designed to prevent loading downloaded AJAX content if any elements have an identifier that is already in my XHTML application.
IE9 continues to give me "such an interface is not supported." I know that one of the parameters is a function reference. I do not need anything, I just want to unconditionally iterate over all the elements. What do i need to change? "Xml" is a valid element element.
First try...
var walker = document.createTreeWalker(xml,NodeFilter.SHOW_ELEMENT,null,false);
The second attempt ...
var walker = document.createTreeWalker(xml,NodeFilter.SHOW_ELEMENT,function() {return NodeFilter.FILTER_ACCEPT;}, false);
source
share