$(document).ready(function() {

 // executes when HTML-Document is loaded and DOM is ready
 alert("document is ready");
});


$(window).load(function() {
 // executes when complete page is fully loaded, including all frames, objects and images
 alert("window is loaded");
});



-  window.load vs document.ready 

- window.load document.ready  차이점

- window.load document.ready  비교



http://hangaebal.blogspot.kr/2014/06/windowload-vs-documentready.html

http://stackoverflow.com/questions/8396407/jquery-what-are-differences-between-document-ready-and-window-load

'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14
[SQLite] Web SQL 여러줄 삽입  (0) 2016.01.14

+ Recent posts