很奇怪,这很简单。我不明白为什么,但是如果我评论淡入淡出的话,它不会崩溃并正常工作。
IE 8& 9
中的结果相同当我说崩溃时,我的意思是我收到以下消息(Windows 7):
Internet Explorer has stopped working, windows will look for solution
我认为您不想看到整个代码,因为涉及大量J,但相关部分是:
$('#add_image_upload').fadeOut(1000, function(){
}); // has some commented code inside
html:
<div id="add_image_upload">
<form action="http://localhost/ci/index.php/do_upload"
method="post" accept-charset="utf-8" enctype="multipart/form-data">
<span id="fileinput_button_label">TEXT</span>
<input type="file" name="userfile" id="fileupload_input" multiple="">
</form>
</div>
有人知道会导致这是什么?它可能与内存大小有关,因为我确实此页面中的大量jQuery效果?
在输出一些html时,我忘了在结束标签中添加a/,而其他浏览器会自动纠正它,因此可以使用,但IE不适用。
>如果发生这种情况,请确保您的HTML有效。