Connecting Tech Pros Worldwide Help | Site Map

Javascript error: createTreeWalker() is not supported in IE

Newbie
 
Join Date: Jul 2009
Posts: 3
#1: Jul 10 '09
createTreeWalker() is not supported in IE. Please tell me the alternative function to use.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,577
#2: Jul 10 '09

re: Javascript error: createTreeWalker() is not supported in IE


createTreeWalker() is obviously a user-created function, so post the code for it, so that you can be offered an alternative solution.
Newbie
 
Join Date: Jul 2009
Posts: 3
#3: Jul 13 '09

re: Javascript error: createTreeWalker() is not supported in IE


Hello acoder,

createTreeWalker() is a inbuilt function of javascript. Check this link...
http://www.w3.org/TR/DOM-Level-2-Tra...sal-NodeFilter

createTreeWalker() is not supported in IE. Please tell me the alternative function to use. please....
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,619
#4: Jul 13 '09

re: Javascript error: createTreeWalker() is not supported in IE


Quote:

Originally Posted by venkatuser View Post

createTreeWalker() is a inbuilt function of javascript. Check this link...

to be exact, it is a inbuilt method of DOM 2 - Traversal Module (which actually is NOT JavaScript). you can't state for every programme that uses JavaScript to have this method implemented, especially when it comes to IE.

and I'd say, there's no replacement for createTreeWalker() in IE. (it doesn't even have addEventListener()...)
Reply


Similar JavaScript / Ajax / DHTML bytes