Opener: parent indicates the parent window. For example, if A page A uses iframe or frame to call page B, the window where page A is located is the parent of page B, the following describes how to use it in detail. If you are interested, refer
The Code is as follows:
$ ("# SaveInfo"). show ();
SetTimeout ('$ ("# saveInfo"). hide ();', 3000 );
If (opener &&! Opener. closed ){
Opener. location. reload (true );
}
SetTimeout: How long is the latency to execute? Use: http://www.jb51.net/article/35535.htm
Opener: parent indicates the parent window. For example, if A page A uses iframe or frame to call page B, the window of page A is the parent of page B. In JS, window. opener only references the parent window of the pop-up window. For example, in a.html, window. open a new window B .html by clicking a button. In B .html, you can access the.html content by writing an example of opener(specifically, opener.pdf to reference a.html, and wrap the.html documentobject.
If this reference fails, null is returned. Therefore, before calling an opener object, you must first determine whether the object is null. Otherwise, a JS error "the object is empty or does not exist" will occur.