gpt4 book ai didi

javascript - 在我使用 Firebug 中的编辑按钮之前,内容不会出现在 iframe 中

转载 作者:太空狗 更新时间:2023-10-29 16:38:14 24 4
gpt4 key购买 nike

它让我在 FF 中疯狂。我在 Chrome 中尝试了相同的页面,内容立即出现。

我有一个从另一个页面加载图表的 iframe。

问题是在我检查元素并单击编辑元素按钮之前图表不会出现。一旦我在 html 代码中的 src 属性后添加空格(为了更好地理解,请参见下文)图表将立即显示。

图表使用的是 jqPlot

之前

<iframe src="http://localhost:4501/mainpage/graph.aspx"></iframe>

之后

<iframe src="http://localhost:4501/mainpage/graph.aspx" ></iframe>

图片在这里。

alt text http://img294.imageshack.us/img294/252/crazything.jpg

最佳答案

<iframe src="#" onload="this.src='http://localhost:4501/mainpage/graph.aspx'">No Ifrmae allowed</iframe>

我不确定为什么会这样,这可能是您计算机的问题...但请试一试。顺便说一句,如果您收到“不允许使用 iframe”,则可能是您的 ff 已禁用 iframe。因为你已经提到它显示了框架但是存在加载问题......然后检查你的 Firebug ......在 NET 选项卡上“http://localhost:4501/mainpage/graph.aspx”已成功加载。

关于javascript - 在我使用 Firebug 中的编辑按钮之前,内容不会出现在 iframe 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2037490/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com