Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
JQuery-Fancytree无法应用扩展拖放_Jquery_Fancytree - Fatal编程技术网

JQuery-Fancytree无法应用扩展拖放

JQuery-Fancytree无法应用扩展拖放,jquery,fancytree,Jquery,Fancytree,我使用的是JQuery fancytree,当我使用drag'n drop时出现了一个错误。我的项目正在使用其他扩展(如筛选器、子计数器),但无法应用dnd。我想我得到了最新版本的fancytree dnd js文件(在github上得到) 我像这样注册fancytree文件: <script src="Scripts/fancytree/src/jquery.fancytree.js"></script> <script type="text/javascript

我使用的是JQuery fancytree,当我使用drag'n drop时出现了一个错误。我的项目正在使用其他扩展(如筛选器、子计数器),但无法应用dnd。我想我得到了最新版本的fancytree dnd js文件(在github上得到)

我像这样注册fancytree文件:

<script src="Scripts/fancytree/src/jquery.fancytree.js"></script>
<script type="text/javascript" src="Scripts/fancytree/src/jquery.fancytree.filter.js"></script>
<script type="text/javascript" src="Scripts/fancytree/src/jquery.fancytree.dnd.js"></script>

<script src="Scripts/Treeview_navbar_dnd.js"></script><!--file where the fancytree code is-->
$("#treeView").fancytree({
        extensions: ["filter","dnd"],
我有一个错误:

Uncaught Error: Could not apply extension 'dnd' (it is not registered, did you forget to include it?) 
你能帮我吗。

获取并包含
dist/jquery.fancytree all.min.js
-来自dist文件夹,而不是src

请注意,这是最小化的,因此权重更小,而且您还为过滤器和dnd保存了2个请求