Home >Web Front-end >JS Tutorial >Open a file in a javascript iframe and detect whether the iframe exists_javascript skills

Open a file in a javascript iframe and detect whether the iframe exists_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 18:57:091253browse

But if it is iframe[name], it involves onload issues... So it is a lot of trouble....
The following just adds a delay... and does not "really" deal with onload issues... .In fact, it can be solved by looping window.open, but I’m too lazy to do it...^^
jb51.net

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn