[Javascript] Is null or not object error

Troy III Ajnej trojani2000 at hotmail.com
Tue Nov 27 15:56:51 CST 2007


Exact.
I was not able to open dhe page, this problem refers to. 
But seing the code
window.onload = sndReq('start');
is enough to understand that the function sndReq('start') is not 
associated win any event. It will trigger the function same as if 
it were writen like sndReq('start') directly so it will not wait for
the page to finnish loading
Your correction will probably solve the encountered problem.
Regards~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        Troy III                            progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Date: Tue, 27 Nov 2007 13:59:23 -0500> From: mwarden at gmail.com> To: javascript at lists.evolt.org> Subject: Re: [Javascript] Is null or not object error> > On 11/27/07, tedd <tedd at sperling.com> wrote:> > Hi gang:> >> > I would have swore that I did not have this problem before, but> > suddenly it came up for IE's.> >> > Here's the site:> >> > http://webbytedd.com/a/ajax-site> >> > It works fine for non-IE browsers, but IE errors and says my> > document.getElementById(...) is null or not an object.> >> > Here's the code:> >> > http://webbytedd.com/a/ajax-site/js/a.js> >> > Any ideas as to what's wrong?> > Actually, I don't think this is a browser-specific issue, per se. I> think it just has to do with different rendering times. Try changing:> > window.onload = sndReq('start');> > to:> > window.onload = function() { sndReq('start'); }> > Thanks,> > -- > Matt Warden> Cincinnati, OH, USA> http://mattwarden.com> > > This email proudly and graciously contributes to entropy.> _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20071127/2cb8f8f6/attachment.htm>


More information about the Javascript mailing list