1
我正在使用uploadify插件允许用户上传文件到我的网站。该脚本工作正常铬,但在IE无法正常工作和FirefoxUploadify浏览器兼容性问题
$(function() {
$('#file_upload').uploadify({
'checkExisting' : 'check-exists.php',
'buttonText' : 'Select project',
'fileSizeLimit' : '163840KB',
'fileTypeDesc' : 'Image Files',
'fileTypeExts' : '*.zip; *.rar',
'swf' : 'uploadify.swf',
'uploader' : 'uploadify.php',
'onUploadError' : function(file, errorCode, errorMsg, errorString) {
$("input[type=submit]").attr("disabled", "disabled");
alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
},
'onUploadSuccess' : function(file, data, response) {
$("input[type=submit]").removeAttr("disabled");
},
});
任何建议:)