Anyone have ideas for solving the “n items remaining” problem on Internet Explorer?

前端 未结 7 1437
灰色年华
灰色年华 2021-01-30 17:22

In my ASP.Net app, which is javascript and jQuery heavy, but also uses master pages and .Net Ajax pieces, I am consistently seeing on the status bar of IE 6 (and occasionally IE

7条回答
  •  再見小時候
    2021-01-30 18:01

    IF you use behaviors ANYWHERE in your code (or a library you use uses them) e.g.

    
    

    Then there is NO solution that I'm aware of and the bug report filed in IE Feedback on Connect for IE8 (and IE7) was rejected for both releases with the following blanket canned statement:

    This is a known bug in IE and also happens in previous IE versions. The reason that you see hundreds of requests in the status bar is because IE attemps to read the htc file from disk over and over again for each element on the page. Unfortunately, at this time we do not plan on fixing this. We will consider this in the future version of IE.

    Best regards, The IE Team

    Since this is the same reply received for IE7 development I wouldn't hold my breath on EVER having this fixed.

    Update:

    One additional thought based on your update notes. If the page isn't quite responsive, as if it is still loading something, check the rendered DOM content for any calls to document.write() {you may not have added them, but a lib might have}.

    If they exist, try adding a document.close(); statement after they are complete, this will tell the browser you are "done" rendering.

    PS here is a link you can save as a bookmark (right-click "Add to favorites...") that will show you the generated DOM as IE sees it (an ugly quoteLess=CaMelCaSeMeSS) do a search on the result to find any quirky code that might be causing issues.

    IE Generated Source: (add this as the location for any bookmark, the editor won't let me link it up)

    javascript:''+window.document.body.parentNode.outerHTML+'';
    

提交回复
热议问题