![](/img/trans.png)
[英]jQuery $_FILES array empty with blueimp file upload plugin in IE8/9
[英]Multiple file selection issue with jquery uploader (blueimp) in IE8 & IE9
我使用從blueimp上傳的jquery文件。
我在IE8和IE9中有一個問題(我討厭它:)),其中有多個文件選擇。
jQuery文件上傳框架可用於HTML5。
我使用了一個簡單的HTML代碼:
<form>
<input type="file" name="files[]" multiple>
</form>
在標頭中,我放置了以下javascript:
<script src="jquery.fileupload.js" type="text/javascript"></script>
<script src="jquery.iframe-transport.js" type="text/javascript"></script>
<!--[if lt IE 10]><script src="html5shiv.js"></script><![endif]-->
當然,即使我放置了html5shiv.js
文件,它也可以在Firefox和Chrome中完美運行,但在IE8-IE9中卻不能。
您知道任何解決方法嗎? 還是我必須使用一個支持Flash,Silverlight等多種環境的框架?
您的請求是跨域的嗎?
使用Iframe Transport插件進行跨域文件上傳時,需要重定向回原始服務器以檢索上傳結果。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.