【发布时间】:2020-06-17 08:53:28
【问题描述】:
【问题讨论】:
-
这能回答你的问题吗? Setting focus to iframe contents
-
不。我仍然没有集中注意力。我特别想关注文档正文 this.AppLaunchEl.contentWindow.document.body.focus() 我也尝试过 this.AppLaunchEl.contentWindow.document.focus()
-
但是你是否等待页面重新加载 $(document).ready(// 你的函数) @KadeejaBai
-
在这种情况下我不能使用 jQuery 方法,所以我没有检查它。加载 iframe 后,我尝试等待一段时间
标签: javascript html iframe focus