我有这段代码,并且在所有其他浏览器中工作得很好,但IE浏览器效果不错。没有什么发生,我也参考这个链接IE image caching with jQuery form: Force image reloading然后也没有工作图片上传不能正常工作在IE和窗体中没有引用
//jquery.form.js version: 3.10 .
$(document).ready(function() {
$('#imageuploadform1').live('change', function() {
var counter = 0;
$("#preview").html('');
$("#preview").html('<img src="loader.gif?c=' + counter + '" alt="Uploading...."/>');
counter++;
$("#imageform").ajaxSubmit({
target: '#preview'
});
});
});
我怎样才能解决这个问题
什么版本的IE? – tucuxi 2012-08-03 10:58:08
什么不起作用?你想要做什么? – Robert 2012-08-03 11:49:09
我使用的是IE 8,当我在IE中调试时,我在[jquery.form.js](https://github.com/malsup/form/blob/master/jquery)中得到了类似“script5:Access denied”的错误。 form.js)在行号458像form.submit – 2012-08-09 11:47:25