2014-02-25 57 views
0

我一直有一些問題,uploadify在FireFox中不顯示瀏覽按鈕。它目前適用於IE 9和Chrome。但是,IE 9中的一些用戶報告說它不起作用。我正在使用最新版本的uploadify庫。其他人遇到過這個問題嗎?我在ASP.NET Web應用程序中使用C#。我在一個ashx文件中使用IHttpHandler來處理上傳。Uploadify在FireFox中不顯示瀏覽按鈕

這裏是我的uploadify代碼:

$(document).ready(
      function() { 
       $("#<%=fuImage.ClientID %>").uploadify({ 
        'swf': 'scripts/uploadify.swf', 
        'buttonText': 'Browse Files', 
        'uploader': 'Upload.ashx', 
        'folder': 'uploads', 
        'fileTypeDesc': 'Image Files', 
        'fileTypeExts': '*.jpg;*.jpeg', 
        'formData': { 'DocumentId': '<%=this.DocumentTypeID %>', 'CustomerId': '<%=Profile.DealerProfile.CurrentProfile.OnyxCompanyID == null ? 0 : Profile.DealerProfile.CurrentProfile.OnyxCompanyID.Value %>', 'LargeHeight': '<%=this.LargeHeight %>', 'LargeWidth': '<%=this.LargeWidth %>', 'ThumbnailHeight': '<%=this.ThumbnailHeight %>', 'ThumbnailWidth': '<%=this.ThumbnailWidth %>', 'ImageType': '1' }, 
        'onQueueComplete': function() { setTimeout(function() { location.reload(true); }, 100); }, 
        'multi': true, 
        'auto': true 
       });}}; 

我注意到uploadify網站上的樣品並不一定匹配到uploadify工具,我不得不改變參數名稱。

+0

你的控制檯有任何錯誤嗎? – user1477388

+0

不,沒有顯示錯誤。 – Adam

+0

如何在網絡面板?你有沒有連接失敗?它在線嗎?如果您可以提供鏈接,我可以查看是否有任何此類問題。 – user1477388

回答

0

如果未安裝Flash,瀏覽按鈕可能不會顯示。此解決方案需要Flash才能正常工作。

相關問題