jquery uploadify 在FF下无效的解决办法

Js代码

rush:js;"> $('#file_upload').uploadify({ buttonImage: '${ctx }/commons/uploaddify/img/browse-btn.png',swf :'${ctx }/commons/uploaddify/uploadify.swf',uploader :'../servlet/defaultdispatcher;jsessionid=${pageContext.session.id}?__action=xxx',fileTypeExts: '*.jpg;*.png;*.gif;*.bmp',fileTypeDesc: '图像文件',formData: { timestamp: new Date().getTime() },onSelect: function(file){ //重写校验 },onUploadProgress: function(file,bytesuploaded,bytesTotal,totalBytesuploaded,totalBytesTotal){ $('#pregress').html('总共需要上传'+bytesTotal+'字节,'+'已上传'+totalBytesTotal+'字节'); },onUploadSuccess: function(file){ //上传成功 } });

参考网上解决方案,在uploader路径后面增加jsessionId就好。

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: <span id=&quot...
jQuery 添加水印 <script src="../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...