Home  >  Article  >  Backend Development  >  Value transfer in static pages_PHP tutorial

Value transfer in static pages_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:04:57834browse

There is a relationship between these two windows. The parent window parent.htm opens the child 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.
Advantages: Convenient value acquisition .As long as window.opener points to the parent window, you can access all objects.
Not only can you access the value, but you can also access the method of the parent window. There is no limit to the value length.
Disadvantage: There must be a relationship between the two windows. Just use The window opened by window.open. Cannot cross domain.
      
Post.htm


Read.htm



www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445150.htmlTechArticleThere is a relationship between these two windows. The parent window parent.htm opens the child window son.htm. The child window can be opened through window.opener points to the parent window. This allows you to access the object of the parent window. Advantages: convenient value...
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