Checking if iFrame page exists

Is it possible to detect if a document loaded by an iframe exists or not? The difficulty is, that the iframe document is from another domain than the parent page. Anything that tells me if the iFrame page exists could be used, such as document title or response status code. At the end of the day I want to see if the page of the iframe was found or not (timeout or 404). Has someone a clue?…

以上就是Checking if iFrame page exists的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准