Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

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

Tagged , , , ,

1 comment

  1. I see that the idea of using try/catch to trap errors until the document is ready is becoming an interesting techinque on IE.

    However inserting nodes in the document.body before the document is fully loaded have been possible for me from day one. I tested it.

    I will wait for John code and give it a try. Maybe he is doing some neat trick. Is it available somewhere ?

    Diego Perini

    Diego Perini - 27th September 2007 12:24 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site