dwz uploadify kindeditor 冲突怎么解决
1个回答
2016-05-29
展开全部
<input id="testFileInput" type="file" name="image" uploaderOption="{
swf:'uploadify/scripts/uploadify.swf',
uploader:'ajax/uploadFile.ashx',
formData:{PHPSESSID:'xxx', ajax:1},
buttonText:'请选择上传文件',
fileSizeLimit:'500000KB',
fileTypeDesc:'*.jpg;*.jpeg;*.gif;*.png;*.doc;*.xls;*.rar;*.zip;*.docx',
fileTypeExts:'*.jpg;*.jpeg;*.gif;*.png;*.doc;*.xls;*.rar;*.zip;*.docx',
auto:true,
height:20,
onUploadSuccess:uploadifySuccess
}"
uploadifySuccess 函数用于接收后台返回参数
function uploadifySuccess(file,data,response){alert(data);}
swf:'uploadify/scripts/uploadify.swf',
uploader:'ajax/uploadFile.ashx',
formData:{PHPSESSID:'xxx', ajax:1},
buttonText:'请选择上传文件',
fileSizeLimit:'500000KB',
fileTypeDesc:'*.jpg;*.jpeg;*.gif;*.png;*.doc;*.xls;*.rar;*.zip;*.docx',
fileTypeExts:'*.jpg;*.jpeg;*.gif;*.png;*.doc;*.xls;*.rar;*.zip;*.docx',
auto:true,
height:20,
onUploadSuccess:uploadifySuccess
}"
uploadifySuccess 函数用于接收后台返回参数
function uploadifySuccess(file,data,response){alert(data);}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询