- 注册时间
- 2013-12-19
- 最后登录
- 2014-4-16
- 阅读权限
- 10
- 积分
- 80
- 精华
- 0
- 帖子
- 19
|
我使用了minui 的flashupload进行上传,但是只要鼠标一移到上传文件框上面就会出错
错误如图:
在jquery 1.8.2.min.js中是这段:
这个是怎么回事, flashupload跟jquery 1.8.2.min.js有冲突吗.
页面代码如下,完全照官网例子写的
@section header{
<script type="text/javascript" src="~/Scripts/swfupload.js"></script>
<script type="text/javascript">
mini.parse();
function onFileSelect(e) {
}
function onUploadSuccess(e) {
mini.alert("上传成功");
}
function onUploadError(e) {
}
function startUpload() {
var fileupload = mini.get("fileupload1");
fileupload.startUpload();
}
</script>
}
<div class="mini-fit">
<div id="ControlHost" style="text-align: center; margin-top: 20px; padding: 0px; width: 100%;">
<input id="fileupload1" class="mini-fileupload"
name="Fdata" limittype="*.xls"
flashurl="~/Content/Plugin/swfupload.swf"
uploadurl="@Url.Action("UploadExcel")"
/>
<input type="button" value="上传" />
</div>
</div>
|
|