.ready( handler )Returns: jQuery
Description: Specify a function to execute when the DOM is fully loaded.
-
version added: 1.0.ready( handler )
- handlerType: Function()A function to execute after the DOM is ready.
-
The .ready()
method offers a way to run JavaScript code as soon as the page