ready
English [ˈredi] American [ˈrɛdi]
adj. Ready, ready-made; immediate, agile; willing; upcoming
vt.Be prepared for…
adv.Advance;completed
n.Cash
jquery ready() method syntax
Function:The ready event occurs when the DOM (Document Object Model) has been loaded and the page (including images) has been fully rendered. Since this event occurs after the document is ready, it is a good practice to place all other jQuery events and functions in this event. Just like in the example above. The ready() function specifies the code to be executed when the ready event occurs. The ready() function only works on the current document, so no selector is needed.
Syntax 1: $(document).ready(function)
##Syntax 2: $().ready(function
Syntax 3: $(function)
Parameters:
Description | |
Required. Specifies the function to be run when the document is loaded. |