Home  >  Article  >  Web Front-end  >  After the data is saved, the webpage is not closed_html/css_WEB-ITnose

After the data is saved, the webpage is not closed_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:22:451015browse

The process is like this: after the data is saved, refresh and close actions are performed

Now the data has been saved
but the web page is not closed

window.opener.location = window.opener. location;
window.close();

Is it possible that window.opener.location = window.opener.location; is problematic? ?
Normally it is ok
The error occurred because multiple different page windows were opened. Could this be the reason?

Thank you


Reply to the discussion (solution)

Can any expert help me analyze the possible reasons?

The error is open Multiple different page windows

What does this mean?

Is there any error in js?

The error occurred because multiple different page windows were opened

What does this mean?
The normal situation is correct

Occasionally the window does not close
In addition, there are many other pages opened

Could it be related to this?

Is there any error in js?

Because this happens occasionally,
so I can’t debug it, and I don’t know if JS reports an error.

Occasionally, the window is not closed.
In addition, many other windows have been opened. Could the page
have something to do with this?

Does anyone know?

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