[jQuery] Re: document.body is null or is not an object

2009-06-15 Thread Lideln
Ok... I did not succeed in fixing that issue. Nevertheless, a colleague told me about "multiple_ie", which is an application that allows to install (in stand alone) all desired versions of IE. This software seems to work well, as it has solved my issue (but the "standard" IE still won't work). T

[jQuery] Re: document.body is null or is not an object

2009-06-12 Thread Lideln
Hi ! Thanks for the answer. But, if it is due to the code, why does it work on another developer computer, with the exact same code ? And why would it work for one tester out of 3 ? I can't explain that, and as far as I can't explain that, I will not likely consider it is due to the code. Actual

[jQuery] Re: document.body is null or is not an object

2009-06-12 Thread mhofmann
Some of my clients have actually seen this, too: Javascript Error: 'document.body' is null or not an object The error line refers to the line "document.body.appendChild( div );" in jquery.js. It has definitely happened for people on IE6, and I believe for people on IE7 as well... however, it is

[jQuery] Re: document.body is null or is not an object

2009-06-12 Thread Lideln
Up :) On Jun 10, 6:40 pm, Lideln wrote: > Up ! > > I really need some help... Am I the only one experiencing such a > problem ? > I can't use IE6 for now... It's really paralyzing me because I work in > a professional environment. > > Thank you all for your help ! > > On Jun 8, 12:18 pm, Lideln

[jQuery] Re: document.body is null or is not an object

2009-06-10 Thread Lideln
Up ! I really need some help... Am I the only one experiencing such a problem ? I can't use IE6 for now... It's really paralyzing me because I work in a professional environment. Thank you all for your help ! On Jun 8, 12:18 pm, Lideln wrote: > Hi, > > Thank you for that long answer ! > > The

[jQuery] Re: document.body is null or is not an object

2009-06-08 Thread Lideln
Hi, Thank you for that long answer ! The problem is that on my computer and that of my colleague where it bugs, we are automatically redirected to the login page. So it'll be hard to compare the two versions of HTML. I also tried to deactivate debugging in IE6 (the two checkboxes in the options

[jQuery] Re: document.body is null or is not an object

2009-06-08 Thread kranthi
there is one more thing which i forgot to mention earlier... if i encounter an IE specific error the first thing i do is disable all debugging addons in IE, restore all the advanced options to default. open the source code in IE of your colleague(on whose computer it is working fine). open the s

[jQuery] Re: document.body is null or is not an object

2009-06-08 Thread Lideln
Hop another fresh news update : It works for another colleague who is pointing on my machine... But it doesn't for I and another colleague. My apache-thing idea does not suit now... I'm totally lost... On Jun 8, 10:08 am, Lideln wrote: > Ok, another discovery : > > Maybe it does not come from

[jQuery] Re: document.body is null or is not an object

2009-06-08 Thread Lideln
Ok, another discovery : Maybe it does not come from jQuery or javascript itself. In fact, I have a team mate that has the same SVN code as I have, and in IE6 it works fine on its computer. For me, PHP is creating 6 session files when I have the bug in IE6, and only one session file when it works

[jQuery] Re: document.body is null or is not an object

2009-06-08 Thread Lideln
Could it be that it comes from hardware or something else, rather than the code itself ? Because I deleted my work folder, and I checkouted from SVN to a revision that was working for me last week... And guess what ? It still bugs ! I don't understand a thing... On Jun 8, 9:07 am, Lideln wrote

[jQuery] Re: document.body is null or is not an object

2009-06-08 Thread Lideln
Ok there is some progress... I manage to get the error in Firefox too ! How can I do that ? Let me explain everything : In IE : The error shows up when I try to login AND when the login is successful (but strangely, it still occurs in the login.php page instead of main.php) In FF : The errors

[jQuery] Re: document.body is null or is not an object

2009-06-07 Thread Lideln
Hi, Thank you all for your answers ! The problem is, that nobody else got this error, just me. And the other problem is that neither Firebug or WebDeveloper tell me of errors (they both detect different errors sometimes). IE6 bugs only on this line, and I tried to comment the inclusion of the tw

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread Ricardo
That's a check for proper W3C box model support, as you can see it runs on document.ready (jQuery(function...), so it's impossible that the document body doesn't exist yet. Kranti is right, it's likely a previous error that's causing it. On Jun 5, 9:07 am, Lideln wrote: > Hi ! > > I have an issu

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread kranthi
i dont have a faintest idea why this is happening. and i am sure that i am not providing a solution to your problem. but from my experience of debugging JS errors on IE 6 (while it works fine on IE 7) i can tell you that probably you encountered a IE 6 specific JS error before that line of co

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread Naren
Use var body= document.getElementsByTagName('body')[0] body.appendChild( div ); body.removeChild( div ); On Jun 5, 9:07 pm, Lideln wrote: > Hi ! > > I have an issue... What is weird, is that my colleagues don't have > it ! (and I did not have it this morning) > It happens only on IE6... Everyth

[jQuery] Re: document.body is null or is not an object

2009-06-06 Thread Lideln
Hi, I am using strict doctype, but I think I tried loose too but no success. I don't "do" the append thing, what I quoted is the jquery 3.2 library code where it fails (I was previously using the minified version, but not handy to debug) Any idea ? On Jun 6, 5:27 am, Aaron Gundel wrote: > What

[jQuery] Re: document.body is null or is not an object

2009-06-05 Thread Aaron Gundel
What is your doctype for the page? strict doctypes will render under document.documentElement rather than document.body. Not sure if there's any particular reason you're doing it this way though. It would probably be much simpler to do something like jQuery("body").append("") On Fri, Jun