[問題] jquery ajaxFileUpload問題
<input type="file" name="fileUpload" id="fileUpload"></input>
選擇檔案後,會顯示所選的檔名
但執行ajaxFileUpload 上傳成功之後,<input>所選擇的內容就被清空了@@
要如何保留原值?謝謝
$.get("123.jsp", {param:xxx} , function (data,textStatus){
$.ajaxFileUpload({
url:"upload.jsp",
secureuri: false,
fileElementId:'fileUpload',
dataType: 'text/xml',
success: function (data, status){
},
error: function (data, status, e){
}
});
});
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.75.223.77
※ 文章網址: http://www.ptt.cc/bbs/Ajax/M.1408960989.A.260.html
→
08/26 09:05, , 1F
08/26 09:05, 1F
→
08/26 11:13, , 2F
08/26 11:13, 2F
→
08/26 11:13, , 3F
08/26 11:13, 3F
→
08/26 11:13, , 4F
08/26 11:13, 4F
Ajax 近期熱門文章
PTT數位生活區 即時熱門文章
6
32