close
目前我用的是,frameset 的 onload:
<frameset onload="OnFramesetLoad()">
其他寫法:(皆未確認過)
(1)
document.addEventListener('DOMContentLoaded', function() {
// your code here
}, false);(2)
$(document).ready(function(){
// your code
});
參考:call a function after complete page load
文章標籤
全站熱搜
留言列表