Home  >  Article  >  Backend Development  >  关于ajaxfileupload的问题

关于ajaxfileupload的问题

WBOY
WBOYOriginal
2016-06-23 14:05:25840browse

我想在项目中加一个文件上传的功能,用ajaxfileupload插件,但是原来项目中的
<script></script>
和插件中的
<script></script>
两个有冲突,不能同时使用。该如何解决呢?在线等高手啊


回复讨论(解决方案)

使用最新的jquery 就可以了,基本上更改不大

可以去吊插件中的<script></script>
这个

去掉一个试试呗

可以去吊插件中的<script></script>
这个 去掉之后提示找不到对象$.ajaxfileupload,可是明明加载了
<script></script>的啊。是不是jquery的问题呢?

引用 2 楼 chinmo 的回复:
可以去吊插件中的<script></script>
这个去掉之后提示找不到对象$.ajaxfileupload,可是明明加载了
<script></script>的啊。……

那就看是不是未加载就使用对象了,还是JQ与这个插件的顺序颠倒了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn