Ticket #4267 (closed bug: worksforme)
document.body is null in Firefox 3
|Reported by:||AvengingAngel||Owned by:|
|Keywords:||document.body is null||Cc:|
I'm developing a site that uses jquery
I noticed a strange error when using Firefox
If i refresh my page superfast(holding F5) I get a document.body is null from the jquery file (according to FireBug 1.3.3)
I do not have any code using jquery on that page just the jquery file included.
The tricky thing is that the error seems related to timing as it only does it somtimes.
I know that peoble dont normally get this error but I still felt that is was too strange not to repport.
So the question is! in what logic is jquery using document.body when the file is loaded by the browser and why is it NULL?
Looking through the source I can see that too figure out if the W3C box model works as expected there is some use of document.body.
using jquery-1.3.2.min.js Firefox version 3.0.6 local dev site on IIS7 vista