IE 和Firefox下 Iframe 重新加载 reload
ie:document.frames['vCodeIFrame'].location.reload();
window.frames['vCodeIFrame'].location.reload();
以上写法在firefox下面不行
以下写法:
document.getElementById('vCodeIFrame').contentWindow.location.reload();
在IE和firefox里都可以使用
ie:document.frames['vCodeIFrame'].location.reload();
window.frames['vCodeIFrame'].location.reload();
以上写法在firefox下面不行
以下写法:
document.getElementById('vCodeIFrame').contentWindow.location.reload();
在IE和firefox里都可以使用
暂无评论。
评论功能维护中,当前仅展示历史评论。