Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var newnodes = $("<li><span class='folder'>New Sublist</span><ul>" +
- "<li><span class='file'>Item1</span></li>" +
- "<li><span class='file'>Item2</span></li></ul></li>").appendTo("#browser");
- $("#browser").treeview({
- add: newnodes
- });
Add Comment
Please, Sign In to add comment