有没有办法知道HTML页面是否已经加载完成?,
我必须在 HTML 页面加载结束时加载一些组合框。请帮我做到这一点。
更新:
my question is how to load some values after page is completely loaded not only the images,css, etc but also all the controls in it, like some text boxes may have values from the server and so on.
最诚挚的问候
最佳答案
使用 window.onload JavaScript 中的事件处理程序。
关于javascript - 如何在 html 页面加载结束时执行任何特定操作或事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14954714/