$(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");
});
http://stackoverflow.com/questions/8396407/jquery-what-are-differences-between-document-ready-and-window-load
댓글 없음:
댓글 쓰기