Home >Web Front-end >HTML Tutorial >Frame pops up a child window. How to redirect the parent window after the child window is closed?_html/css_WEB-ITnose

Frame pops up a child window. How to redirect the parent window after the child window is closed?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:23:211234browse

How to do this function? The parent window is a frame.


Reply to discussion (solution)

Call before closing

opener.location='要定定向到的页面url';


References between iframe and parent page, window.open opens the page

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