... 在Stack Overflow上看到了这个问题,自己翻译了过来. The onload event is a standard event in the DOM, while the ready event is specific to jQuery. window.onload 是DOM中的标准事件,而$(document).ready() 是jQuery中的事件.(显然......) The ready event occurs after the HTML document has…