$(function () { var returnsValue; // Type: any // Parameters var node; // Type: undefined var position; // Type: number returnsValue = $(".selector").wijtree("add", node, position); });
Parameters
- node
- 1.markup html.such as "<li><a>node</a></li>" as a node. 2.wijtreenode widget. 3.object options according to the options of wijtreenode. 4.node's text.
- position
- The position to insert at.