方法1:
document.getElementById('iframeId').contentWindow.location.reload(true);
方法2:
document.getElementById('iframeId').src=url;
方法3:
$("#iframeId").attr('src', url);
总结:网上一大堆document.frames('ifrmname').location.reload()已经不能用了!
document.getElementById('iframeId').contentWindow.location.reload(true);
document.getElementById('iframeId').src=url;
$("#iframeId").attr('src', url);
总结:网上一大堆document.frames('ifrmname').location.reload()已经不能用了!
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。