Connecting Tech Pros Worldwide Help | Site Map

Javascript error: createTreeWalker() is not supported in IE

  #1  
Old July 10th, 2009, 11:51 AM
Newbie
 
Join Date: Jul 2009
Posts: 3
createTreeWalker() is not supported in IE. Please tell me the alternative function to use.
  #2  
Old July 10th, 2009, 07:12 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,517
Provided Answers: 12

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.
  #3  
Old July 13th, 2009, 06:21 AM
Newbie
 
Join Date: Jul 2009
Posts: 3

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....
  #4  
Old July 13th, 2009, 08:20 AM
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,485
Provided Answers: 9

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