Home > Backend Development > PHP Tutorial > 跪求swfupload php的前辈啊该怎么解决

跪求swfupload php的前辈啊该怎么解决

WBOY
Release: 2016-06-13 10:05:47
Original
716 people have browsed it

跪求swfupload php的前辈啊!
我用swfupload上传图片的时候,图片是可以正常上传的,但是我想通过JS代码:
function uploadSuccess(file, serverData) {
  try {
  var progress = new FileProgress(file, this.customSettings.progressTarget);
  progress.setComplete();
  progress.setStatus("已完成.");
  progress.toggleCancel(false);
  document.getElementById("_upfiles").innerHTML += '

'+serverData+'删除
';

  } catch (ex) {
  this.debug(ex);
  }
}
来获取图片的上传路径,然后返回到index.php页面,index.php页面有如下代码:

这个代码也就是用来显示swfupload批量上传图片的路径的,请问应该怎么做,如果有高手可以帮忙的话,分我可以多送,谢谢了。如果可以帮我,我愿意附上我的源码。期待ING!

------解决方案--------------------
JScript code
//提交页面需要传ID过去 custom_settings : {    progressTarget : "fsUploadProgress",    cancelButtonId : "btnCancel",    img:'_upfiles'    },<div id="_upfiles"></div>document.getElementById(this.customSettings.img).value += '|' +serverData;<br><font color="#e78608">------解决方案--------------------</font><br>给我邮箱,我给你一个实例,公司禁Q,别用QQ邮箱<br><font color="#e78608">------解决方案--------------------</font><br>
Copy after login
探讨
引用:

JScript code

//提交页面需要传ID过去
custom_settings : {
progressTarget : "fsUploadProgress",
cancelButtonId : "btnCancel",
img:'_upfiles'
},






……
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template