Static page value transmission

xiaoxiao2021-03-05  29

There is a relationship between the two windows. Parent window parent.htm Opened sub-window SON.HTM

The sub-window can point to the parent window via Window.opener. This allows you to access the object of the parent window.

Advantages: It is convenient for value. As long as Window.opener points to the parent window, you can access all objects.

Not only can you access a value, but also the method of the parent window. The value is not limited.

Disadvantages: There is a relationship between the two windows. It is the window opened by Window.Open. You cannot cross the domain.

Post.htm

Read.htm