I’m using the jsTree jquery plugin which produces the links in the tree like that
<a href="#" class=""><ins class="jstree-icon" style="background: url("images/icon.png") no-repeat scroll center center transparent;"> </ins>some long text</a>
Now I want to wrap the text in a span, because I want to use the ThreeDots jquery plugin. How can I do that in the easiest way? The ins element of course must be outside the span. I tried to use the wrap/wrapInner jquery functions but it always wrapping me the ins element too.
Is it possible to get access to the jsTree event, when the nodes are creating? Which one is it?
Don’t know anything about jsTree so can’t answer second question.