HeaderScript

2010/08/20

document onready と document onload

jQuery

$(document).ready(function(){});
$(window).load(function(){});

Introducing $(document).ready() | Learning jQuery

Prototype

document.observe("dom:loaded", function(){});
Event.observe( window, "load", function(){});

Prototype JavaScript framework: document.observe

Mootools

window.addEvent("domready", function(){});
window.addEvent("load", function(){});

Window Event: domready | MooTools Docs - Utilities/DomReady

Extjs

Ext.onReady(function(){});

Dojo

dojo.addOnLoad(function(){});

Introducing The Dojo Toolkit | Opera Developer Community

YUI

Y.on("domready", function(){});

Using the domready Event (Formerly onDOMReady) | YUI 3: Event

関連記事