Home  >  Article  >  Web Front-end  >  JS closes the child form and refreshes the parent form implementation method_Basic knowledge

JS closes the child form and refreshes the parent form implementation method_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 17:47:31932browse
Copy code The code is as follows:

Code highlighting produced by Actipro CodeHighlighter (freeware)http://www. CodeHighlighter.com/-->Use the open form to open the form
//Use the address method
window.opener.location.href='m_Shedule_Main.aspx';
//Use the browser refresh function
window.opener.location.reload();
Use showModalDialog method
window.returnValue = 'refresh';
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