if (window.ActiveXObject) {
var reg = /10.0/;
var str = navigator.userAgent;
if (reg.test(str)) {
var form = document.createElement('form');
$(文件域).before(form);
$(form).append(文件域);
form.reset();
$(form).after(文件域);
$(form).remove();
}
}
查各博客、资料所得
if (window.ActiveXObject) {
var reg = /10.0/;
var str = navigator.userAgent;
if (reg.test(str)) {
var form = document.createElement('form');
$(文件域).before(form);
$(form).append(文件域);
form.reset();
$(form).after(文件域);
$(form).remove();
}
}
查各博客、资料所得