当前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}) ' +
'<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){
}
});
}
$("#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}) ' +
'<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控件禁用了?
版权说明:Copyright © 广州松河信息科技有限公司 2005-2025 版权所有 粤ICP备16019765号
广州松河信息科技有限公司 版权所有