我在父窗口中有以下 iframe:
<iframe
name="sg_iframe"
id="sg_iframe"
src="www.myurl.com"
align="left"
height="150px"
width="750"
frameborder="0"
marginheight="0"
marginwidth="0"
overflow="auto">
</iframe>
现在在 www.myurl.com 中,假设我有一份报告,该报告根据某些标准显示 3 个字段。
那么基于此,我如何从父表单检查上述 iframe 是否没有数据,即没有列出报告数据或实际上确实有使用 jquery/javascript 的数据?
基本上只需要知道 iframe 中的报表是否有 0 行或 1 行或更多行。
谢谢。
最佳答案
关于javascript - 如何检查 iFrame 中是否有值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6118878/