隐藏

uploadify3.2 ie8 以上高版本 ie9 ie10 ie11 文件选择按钮无法点击

发布:2015/7/27 22:17:10作者:管理员 来源:本站 浏览次数:1450

当前IE 环境 
adoble flash 版本 14
uploadify 官网下载3.2
问题描述:ie8 以上高版本 ie9 ie10 ie11 文件选择按钮无法点击
希望有朋友能帮帮忙
JS代码

function inituploadify(){
var filetype = $('#fileType').combobox('getValue');
$("#uploadify").uploadify({
                'debug' : false,
                'uploader':_basePath_+'controllers/HandUPAction/upFile.do?filetype='+filetype,
                'swf': _basePath_+'resource/uploadify/uploadify.swf',
                'progressData':'percentage',
                'cancelImg': _basePath_+'resource/uploadify/uploadify-cancel.png',
                 'fileObjName': 'refile',   
                'queueID': 'fileQueue',
                'auto': false,
                'multi': true,
                'removeCompleted':false,
                'fileSizeLimit':0,
                'uploadLimit':999,
                'itemTemplate' : '<div id="${fileID}" class="uploadify-queue-item">' +
                 '${fileName}(${fileSize})&nbsp;&nbsp;' +
                 '<a href="javascript:$(\'#uploadify\').uploadify(\'upload\',\'${fileID}\')">开始上传</a>' +
                 '|<a href="javascript:$(\'#uploadify\').uploadify(\'cancel\',\'${fileID}\')">取消上传</a>' +
                 '<span class="data"></span><div class="uploadify-progress"><div class="uploadify-progress-bar"></div></div>' +
                 '</div>', 
                'onUploadError':function(){
                 //$.messager.alert("提示", '上传文件超出999个文件', 'info');
                },
                'fileTypeExts':'*.*',
                'buttonText': '选择文件',
               // 'buttonImg':_basePath_+ 'resource/uploadify/uploadify-cancel.png',
                'buttonCursor' :'hand',
                'onUploadSuccess':function(file, data, response){
                 $('#' + file.id).find('.data').html(' - 完成');
                },
                'onUploadError': function(file, errorCode, errorMsg, errorString){
                }
            });


}

有可能是swf地址不正确
SWF 地址是正确的 uploadify3.2 ie8 以上高版本 ie9 ie10 ie11 文件选择按钮无法点击
引用 2 楼 lqs_death 的回复:
SWF 地址是正确的 uploadify3.2 ie8 以上高版本 ie9 ie10 ie11 文件选择按钮无法点击

测试过在IE11下没有问题,插件本身是OK的
使用3.2.1版本在IE11下测试图:
\

代码:
        $("#uploadify").uploadify({

            'debug': false,

            'uploader': 'UploadHandler.ashx',

            'swf': '../JS/uploadify/uploadify.swf',

            'progressData': 'percentage',

            'cancelImg': '../JS/uploadify/uploadify-cancel.png',

            'fileObjName': 'refile',

            'queueID': 'fileQueue',

            'auto': false,

            'multi': true,

            'removeCompleted': false,

            'fileSizeLimit': 0,

            'uploadLimit': 999,

            'itemTemplate': '<div id="${fileID}" class="uploadify-queue-item">' +

                 '${fileName}(${fileSize})&nbsp;&nbsp;' +

                 '<a href="javascript:$(\'#uploadify\').uploadify(\'upload\',\'${fileID}\')">开始上传</a>' +

                 '|<a href="javascript:$(\'#uploadify\').uploadify(\'cancel\',\'${fileID}\')">取消上传</a>' +

                 '<span class="data"></span><div class="uploadify-progress"><div class="uploadify-progress-bar"></div></div>' +

                 '</div>',

            'onUploadError': function () {

                //$.messager.alert("提示", '上传文件超出999个文件', 'info');

            },

            'fileTypeExts': '*.*',

            'buttonText': '选择文件',

            // 'buttonImg':_basePath_+ 'resource/uploadify/uploadify-cancel.png',

            'buttonCursor': 'hand',

            'onUploadSuccess': function (file, data, response) {

                $('#' + file.id).find('.data').html(' - 完成');

            },

            'onUploadError': function (file, errorCode, errorMsg, errorString) {

            }

        });
你 adobe flash player 版本是多少的 你更新到最新版本  14 实验下
更新了也可以,你是不是把flash控件禁用了?