Posted on
2010-07-17 14:02牧羊岛
阅读(5292)
评论(0)
编辑收藏举报
iframe的ID=ifr
var iframe = document.getElementById('ifr'); if(iframe.attachEvent){ iframe.attachEvent("onload", function(){ alert("Local iframe is now loaded."); }); }else{ iframe.onload =function(){ alert("Local iframe is now loaded."); }; }