Web浏览器加载问题 [英] Web Browser loading problem
本文介绍了Web浏览器加载问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Haii All,
如何在网页浏览器控件中知道iframe是否已完成加载?
任何人都可以解释(Windows应用程序)。
谢谢,
Anvesh
解决方案
您可以通过Javascript轻松完成此操作 -
< script >
document.getElementById(myframe)。 onload = function(){
alert(myframe is loaded);
};
< / script >
请查看以下链接
http://stackoverflow.com/questions/2777878/detect-webbrowser-complete-page-loading [ ^ ]
我认为这就是你要找的。
快乐编程
:)
Haii All,
How can I know that an iframe has finished loading or not in web browser control?
can anyone explain(Windows Application).
Thanks,
Anvesh
解决方案
You can quite easily do this via Javascript -
<script> document.getElementById("myframe").onload = function() { alert("myframe is loaded"); }; </script>
Please review the following link
http://stackoverflow.com/questions/2777878/detect-webbrowser-complete-page-loading[^]
I think this is what you are looking for.
Happy Programming
:)
这篇关于Web浏览器加载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文