Js Tree error for .jstree () function

I implement jstree in mvc4, but when I run my application, not a single tree is displayed. I tried to track the error with Firebug and found the following error:

"TypeError: $(...).jstree is not a function $("#divtree").jstree();"
+5
source share
1 answer

Follow directions https://github.com/vakata/jstree

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

All Articles