Home > Web Front-end > JS Tutorial > body text

JS implements getting the value entered in opening an interface_javascript skills

WBOY
Release: 2016-05-16 17:40:06
Original
1088 people have browsed it

Requirements
Open another interface in one interface and obtain the value entered by the user in the other interface through JS.
Example:
Index.html

Copy code The code is as follows:

           Homepage

          




Another interface:

other.html

Copy code The code is as follows:

 

    

         操作界面

         

        

         

       

   

   

   

    名字:

    年龄:

   

   


在该DEMO中遇到一个问题,那就是chrome中window.close()方法不起作用。最后通过,window.opener来解决chrome和IE的冲突。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template