Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
78
rated 0 times [  83] [ 5]  / answers: 1 / hits: 19618  / 11 Years ago, thu, april 4, 2013, 12:00:00

I am implementing a jstree in mvc4, but when I run my application no tree view is displayed. I have tried to track the error with Firebug and found the following error:



TypeError: $(...).jstree is not a function $(#divtree).jstree();

More From » jquery

 Answers
23

Follow the guide on https://github.com/vakata/jstree



<script src=/path/to/jstree.min.js></script>
<script>
jQuery(function($) {
(#divtree).jstree();
});
</script>

[#79121] Wednesday, April 3, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
annalieset

Total Points: 733
Total Questions: 92
Total Answers: 109

Location: Greenland
Member since Fri, Jul 31, 2020
4 Years ago
;