在jQuery的ready事件邏輯: // Catch cases where $(document).ready() is called after the
// browser event has already occurred.
if (document.readyState === "complete") {
// Handle it asynchronously to a
jQuery有一個ready方法: $(document).ready(function(){
// my code
})
當DOM就緒它將執行我的代碼。 我有一個問題,如果我把我所有的腳本</body>後,如 <html>
<body>
// all kinds of html tags
</body>
<script src="/pat