Side navigation
#12099 closed bug (invalid)
Opened July 18, 2012 11:37AM UTC
Closed July 18, 2012 12:33PM UTC
document.body is null or not a object
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Line 3205: jquery-1.3.2.js throws 'document.body is null' for following usecase
Load site which has jquery-1.3.2.js in IE or FireFox
Before loading previous site, try to load any other site say google.com.
document.body is null error appears in console
Google.com loads fine
This issue is not show stopper but unnecessary alert is appearing which is giving a wrong impression to user.
jQuery(function() {
var div = document.createElement("div"); div.style.width = div.style.paddingLeft = "1px";
document.body.appendChild( div );
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
Line 3205: document.body.removeChild( div ).style.display = 'none';
div = null;
});
Attachments (0)
Change History (1)
Changed July 18, 2012 12:33PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
jQuery 1.3.2 was released in February 2009 and is no longer supported. The current supported release of jQuery is 1.7.2.