0

每次单击按钮时,我都会尝试加载此 iframe。它是这样的。

有这个按钮。它导致dashboard.php?option=home。一旦用户单击它,就会显示相应的 DIV,并且该部分工作正常。问题是,我想在该 DIV 中显示一个 iframe。当您第一次单击它时,这一切都很好。iframe 页面加载,以及所有内容。但是一旦我再次单击同一个按钮,它会重新加载页面但 iframe 窗口不显示。这是我的 iframe 代码

<iframe id="customerSupportFrame" onload="setIframeHeight(this.id)" scrolling="no" frameborder="0" src="support/" width="100%" height="100%"></iframe>
// loadiframe

我在这里做错了什么?

编辑:它在谷歌浏览器中工作得很好

4

0 回答 0