摘要: 判断 iframe 是否加载完成的完美方法 最近, Nicholas C. Zakas 文章《Iframes, onload, and document.domain》的评论中 Christopher 提供了一个新的判断方法(很完美): var iframe = document.createElement("iframe"); iframe.src = "http://www.planabc.net";if (iframe.attachEvent){ iframe.attachEvent("onload", function(){ 阅读全文
posted @ 2011-03-01 11:33 webaspx 阅读(284) 评论(0) 推荐(1) 编辑