简体   繁体   English

在IE6中使用jquery的一个奇怪的问题

[英]A strange problem using jquery in IE6

I am using jquery load method to update divs , it works great until I test my code under IE6. 我使用jquery load方法来更新div,它运行良好,直到我在IE6下测试我的代码。 The problem is : under IE6 , when I click a button to trigger a load method , the page is remaining unchanged until I move my cursor, that means if I click my mouse and keep my hand away from the mouse , the page is unchanged , if I move the mouse , the page is updated. 问题是:在IE6下,当我单击一个按钮来触发加载方法时,页面保持不变,直到我移动光标,这意味着如果我单击鼠标并将手远离鼠标,页面将保持不变,如果我移动鼠标,页面会更新。

This problem is only occurred under IE6 . 这个问题只发生在IE6下。 IE7 , IE8, Firefox all have no problem. IE7,IE8,Firefox都没有问题。

Have you guys ever encountered this kind of problem ? 你们有没有遇到过这种问题?

This is a drawing issue in IE6 when rendering certain types of content, usually involving filters. 这是IE6在渲染某些类型的内容时的绘图问题,通常涉及过滤器。 You can sometimes trigger a redraw though by doing this, doesn't work in all cases though...welcome to IE: 你有时可以通过这样做来触发重绘,虽然在所有情况下都不起作用...欢迎使用IE:

$(window).resize();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM