<a href="http://www.wordle.net/show/wrdl/4617357/Untitled" title="Wordle: Untitled"><img src="http://www.wordle.net/thumb/wrdl/4617357/Untitled" alt="Wordle: Untitled" style="padding:4px;border:1px solid #ddd"></a>
Wasim Akhtar
Tech News is a blog created by Wasim Akhtar to deliver Technical news with the latest and greatest in the world of technology. We provide content in the form of articles, videos, and product reviews.
<a href="http://www.wordle.net/show/wrdl/4617357/Untitled" title="Wordle: Untitled"><img src="http://www.wordle.net/thumb/wrdl/4617357/Untitled" alt="Wordle: Untitled" style="padding:4px;border:1px solid #ddd"></a>
Definition and Usage
The ready event occurs when the DOM (document object model) has been loaded, and the page
has been completely rendered (including images).
Because this event occurs after the document is ready, it is a good place to have all other jQuery
events and functions. Like in the example above.
The ready() method specifies what happens when a ready event occurs.
The ready() method can only be used on the current document, so no selector is required.
The three following syntaxes are allowed:
Syntax 1
$ ( d o c u m e n t ) . r e a d y ( f n c i o n )
Syntax 2
$ ( ) . r e a d y ( f n c i o n )
Syntax 3
$ ( f n c i o n )
Parameter Description
function Required. Specifies the function to run after the document has been loaded.
Tips and Notes
Tip: The ready() method should not be used together with <body onload="">.
Mr Wasim Akhtar
Comments can be added to explain the JavaScript, or to make the code more readable.
Single line comments start with //.
The following example uses single line comments to explain the code:
Example
Mr Wasim Akhtar
< c i p p e = " e / j a a c i p " >
/ / W i e a h e a d i n g
d o c m e n . i e ( " < h 1 > T h i i a h e a d i n g < / h 1 > " ) ;
/ / W i e o p a a g a p h :
d o c m e n . i e ( " < p > T h i i a p a a g a p h . < / p > " ) ;
d o c m e n . i e ( " < p > T h i i a n o h e p a a g a p h . < / p > " ) ;
< / c i p >
UPDATE: Offline ISO files are available for Windows 11 Insider Preview build 27774 (Canary Channel), 26100.1150 (Dev Channel), 22621 (Beta C...