Home  >  Article  >  Backend Development  >  静态页面的值传递_PHP教程

静态页面的值传递_PHP教程

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

这两窗口之间存在着关系.父窗口parent.htm打开子窗口son.htm
子窗口可以通过window.opener指向父窗口.这样可以访问父窗口的对象.
优点:取值方便.只要window.opener指向父窗口,就可以访问所有对象.
         不仅可以访问值,还可以访问父窗口的方法.值长度无限制.
缺点:两窗口要存在着关系.就是利用window.open打开的窗口.不能跨域.
        
Post.htm


Read.htm

 



www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445150.htmlTechArticle这两窗口之间存在着关系.父窗口parent.htm打开子窗口son.htm 子窗口可以通过window.opener指向父窗口.这样可以访问父窗口的对象. 优点:取值方便...
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