I am loading a tree hierarchy via an XML fetch to my server. When the user does something to alter the tree, I want to refresh the tree by calling:
where ‘xxx’ is the id for the main root of the tree.
TypeError: str.indexOf is not a function
Note: I have tried with no parameters with the same result.
What am I doing wrong (besides choosing the wrong career )?