Geeks With Blogs

News
Anirudha gupta

in javascript we can use document.readyState  to know the state of page.

Some state of page is

“loading” :- when page is still loading and script is executed.

“interactive” :- when page is finished parsing but still loading sub-resources.

“completed” :- page is completely loaded.

 

check a little demo at http://f1beta.com/demo/document.readyState.html

Posted on Friday, January 25, 2013 4:19 PM | Back to top


Comments on this post: how document.readyState work

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Anirudha | Powered by: GeeksWithBlogs.net