IE7 gives error
I have one page which have chat application,wall comments,uploading photos,videos on that page.All 开发者_运维问答is working fine on mozilla firefox,chrome but does not work on IE7.It gives two error
jquery-1.4.4.min.js
HTML Parsing error.Unable to modify the parent container element before the child element is closed (KB9278917).
Because of this error my rightside bar of this page is not seeing & chat application is also not working.
Please reply me as early as possible.
Thank you
This question discusses the error message you have listed as (2).
You're modifying document while it's being loaded (when browser hasn't "seen" closing tag for this element) . This causes very tricky situation in the parser and in IE it's not allowed.
Since you're using jQuery, you can probably avoid this by putting whatever code is causing this error in a function called once the page is loaded, using the jQuery.ready
function:
<script>
jQuery.ready(function() {
// put your code here, instead of just inside <script> tags directly
});
</script>
精彩评论