<li
<sc
<sc
2,在input按钮里面定义了id
<input name="img1" id="img1" type="file">
3,调用上传方法:
<sc
var PUBLIC = "__UPLOADIMG__";
var uploadUrl = '{:U("Fuben/uploadFace")}';
$('#img1').uploadify({
'swf' : "__UPLOADIMG__"+'uploadify.swf',
'uploader' : uploadUrl,
// Put your options here
'onUploadSuccess' : function(file, data, response) {
alert('The file ' + file.name + ' was successfully uploaded with a response of ' + response + ':' + data);
}
});
</sc
为什么连uploadify上传按钮都显示不出来呢?

最佳答案