JQuery iframe 刷新效果

假如有一个选项卡.tab-content,里面有多个iframe

只刷新显示的那个iframe,所以要用到:visible

$('.tab-content iframe:visible')[0].contentWindow.location.reload();

如果页面只有一个iframe的话。

那就是

$('iframe')[0].contentWindow.location.reload();

原文地址:https://www.cnblogs.com/Megasu/p/4050200.html