Simon Willison’s Weblog

Subscribe
Atom feed for domcontentloaded

4 items tagged “domcontentloaded”

2007

Native DOMContentLoaded is coming to Safari. I filed this bug over two years ago. They’ve just committed the resulting patch to trunk.

# 8th October 2007, 1:07 am / javascript, onload, browsers, domcontentloaded, safari, webkit

I have another technique [...] that I'll be switching jQuery to. If you attempt to insert into the document.body before the document is fully loaded, an exception is thrown. I take advantage of that to determine when the document is fully loaded.

John Resig

# 26th September 2007, 12:21 pm / ie, domcontentloaded, jquery, javascript, unobtrusive-javascript

IEContentLoaded. An alternative method of detecting DOMContentLoaded on IE; works by polling until the doScroll() method on an unattached element stops throwing errors.

# 24th September 2007, 12:10 pm / domscripting, domcontentloaded, hedger-wang, ie, iecontentloaded, javascript, unobtrusive-javascript

base2. Dean Edwards’ new JavaScript library which adds useful cross-browser features based on upcoming DOM standards (the Selectors API, DOMContentLoaded, addEventListener and more).

# 23rd March 2007, 5:59 pm / deanedwards, javascript, base2, libraries, domcontentloaded, selectors, addeventlistener