jquery.fileupload.js:87 Uncaught TypeError:$ .widget不是jQuery-file-upload上的函数

Kok*_*zzu 8 javascript jquery file-upload jquery-file-upload

我尝试使用jquery-file-upload的基本示例(源代码),我在html中包含的文件是:

jquery.js
bootstrap.css
bootstrap.js

jquery.fileupload.css
jquery.iframe-transport.js
jquery.fileupload.js
Run Code Online (Sandbox Code Playgroud)

还有什么我应该包括正确使用jquery-file-upload

我的应用程序不需要使用jquery-ui.如果jquery-ui真的是依赖jquery-file-upload,是否有任何解决方法使用它没有jquery-ui

Kok*_*zzu 10

没关系,我应该先读这个.只jquery-ui.widget.js需要,而不是整体jquery-ui.