W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Apply script.defer to internal scripts

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Thu, 29 Mar 2007 14:07:03 +0200
Message-ID: <op.tpx8911r1h6og4@xman.oslo.opera.com>
On Thu, 29 Mar 2007 13:07:58 +0200, Gareth Hay <gazhay at gmail.com> wrote:

>> What about the DOMContentLoaded event? It is supported by Mozilla
>> and, apparently, Opera 9. Dean Edwards has a technique to make it
>> work on IE, and jQuery supports it on Safari [1].
>>
>> Is there any chance DOMContentLoaded will be part of HTML5?

> imho, doing something like this is a much better solution, again imho.

How is this better than putting the <script> immediately beefore </body>, which already works today?


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
Received on Thursday, 29 March 2007 05:07:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC