使用ajaxfileupload.js上傳文件成功之後,不走success的解決方法

方法1: 1.將dataType 設置爲content,dataType : 'content', 2. 修改ajaxfileupload.js文件中的回調成功函數  data = jQuery.parseJSON(jQuery(data).text());  3.在java 代碼內添加 如下幾行代碼: response.setContentType("text/html"); response.
相關文章
相關標籤/搜索