Re: [JSMentors] RE: Deferred script and onload event

2011-12-14 Thread Peter van der Zee
On Fri, Dec 9, 2011 at 1:53 AM, Geoffrey Knutzen geoffr...@seanet.com wrote: If a script is included on an html page with the deferred attribute, and the script attaches a handler to the window.onload event, and the onload event fires, will that handler ALWAYS be executed? Depends on actual

[JSMentors] Re: Deferred script and onload event

2011-12-14 Thread geoffreyk
That is what I was afraid of. It is difficult to test and I have not been able to find any real information about this. So it seems it is necessary to check if onload has fired. Off looking for that information now... On Dec 14, 8:07 am, Peter van der Zee jsment...@qfox.nl wrote: On Fri, Dec 9,