js Tree error for function .jstree()

18,652

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

<script src="/path/to/jstree.min.js"></script>
<script>
    jQuery(function($) {
         ("#divtree").jstree();
    });
</script>
Share:
18,652
Monika D
Author by

Monika D

Updated on June 14, 2022

Comments

  • Monika D
    Monika D almost 2 years

    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();"