Briefing Magento Knowledge

Which of the following functions is guaranteed to be ex…

Which of the following functions is guaranteed to be executed after the DOM is ready? (Assume that the page
only includes the prototype.js library.)

A.
$(function() { . . . })

B.
$(documerit).ready(function() { . . . })

C.
$(“dom:loaded”, function(). . . })

D.
document.observe( “dom:loaded”, function(). . . })

E.
document.observe(“html:loaded”, function(). . . })

F.
document.event(“html:load”, function(). . . })