函数.jstree()的js树错误

Mon*_*a D 8 javascript jquery jstree asp.net-mvc-4

我在mvc4中实现了一个jstree,但是当我运行我的应用程序时,没有显示树视图.我试图用Firebug跟踪错误,发现以下错误:

"TypeError: $(...).jstree is not a function $("#divtree").jstree();"
Run Code Online (Sandbox Code Playgroud)

Nix*_*Nix 6

按照https://github.com/vakata/jstree上的指南操作

<script src="/path/to/jstree.min.js"></script>
<script>
    jQuery(function($) {
         ("#divtree").jstree();
    });
</script>
Run Code Online (Sandbox Code Playgroud)