iframe重新加载

方法1:

document.getElementById('iframeId').contentWindow.location.reload(true);

方法2:

document.getElementById('iframeId').src=url;

方法3:

$("#iframeId").attr('src', url);

 

总结:网上一大堆document.frames('ifrmname').location.reload()已经不能用了!

posted @   Super丶丨蔚  阅读(13603)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示