关于下传文件插件Uploadify的使用

关于上传文件插件Uploadify的使用
使用过程中发现一些问题
1.上传完毕之后,需要使用onComplete来操作所返回fileObject。进而在提交的时候进行文件关联。
 'onComplete'  : function(event, ID, fileObj, response, data) {
            $("#file_upload").append("<input type='hidden' name='filePath' id='"+ID+"' value='"+response+"'/>");
            $("#file_upload"+ID).append("<br />文件名:<span class='response'>"+response+"</span>");
        }


2.当用户取消一个已上传的文件时,应该把该文件删除。需要用到onCancel事件
'onCancel': function(event,ID,fileObj,data) {
            if (confirm('是否移除该文件')){
                //通过后台删除之!
                 callDelete($("#file_upload"+ID+" > .response").html());
                 $("#"+ID).remove();
            	if (data.fileCount<=0){
                	$("#queueList").hide();
                    $("#confirmUpload").hide();
                }
				return true;
            }else{
                return false;
            }
        }


3.uploadify的上传控件无法支持中文。这点很郁闷。希望在下一个版本中改进一下!

4.将'queueID'指定为'queue'的话,在ie下会导致“上传文件框”无法显示的bug。原因来自于ie下对于flash的object中,存在一个ID为'queue'的引用。所以会出现冲突~~今后注意啦