window.onload 与$(document).ready()的区别
首先我们直接看看stackoverflow上的大拿是怎么回答的,回答的比较简单,一看就懂:
The ready event occurs after the HTML document has been loaded, while the onload event occurs later, when all content (e.g. images) also has been loaded.
原创
2015-05-29 13:01:41 ·
687 阅读 ·
0 评论