There is a relationship between these two windows. the parent window is parent.htmopen window son.htm. opener points to the parent window. in this way, you can access the objects in the parent window. advantage: convenient value. only window. opener points to the parent window to access all objects. not only can access the value, but also can access the parent window method. the value length is unlimited. disadvantage: two windows are required
There is a relationship between the two windows. parent window parent.htmopen window son.htm
The child window can point to the parent window through window. opener. in this way, the object of the parent window can be accessed.
Advantage: convenient value. as long as window. opener points to the parent window, all objects can be accessed.
Not only can access the value, but also can access the parent window method. The value length is unlimited.
Disadvantage: there must be a relationship between the two windows. it is the window opened by window. open. cross-domain is not allowed.
Post.htm
Read.htm