I have a jQuery jsTree on my page. The tree works fine as expected. I am having some trouble modifying the node's title text programatically. jsTree does not have a built-in functionality (not in 0.9.8) to do this. So, I am trying to manually find the node's innerHTML and change the title and save it back. My innerHTML looks something like this:
<A href="#" jQuery1246640720277="25">electronics</A>
I want to change the text "electronics" to something else programatically based on some other user action.
When I use innerText or text() methods, I can replace the text but I loose all the other attributes of the innerHTML. How can I preserve all the attributes of this html tag but be able to just modify the displayed text?
Any help please.....
Babu.