Home  >  Article  >  Web Front-end  >  JavaScript pops up a child window and passes the value to the parent window_javascript skills

JavaScript pops up a child window and passes the value to the parent window_javascript skills

WBOY
WBOYOriginal
2016-05-16 16:25:481446browse

New parent window page:

Add the following script

Copy code The code is as follows:

http://www.w3.org/1999/xhtml" >

First




             
           




Create second.html page:

Copy code The code is as follows:

http://www.w3.org/1999/xhtml" >

    second
   



   

   

                                  BackColor="White" Font-Size="9pt" PageSize="5" Width="100%" Height="127px" OnItemDataBound="dgSjygl_ItemDataBound">
                       
                       
                       
                       
                                        
                               
                                   
                               

                                                                   
                                   
                               

                               
                               
                           

                           
                               
                           

                           
                               
                               
                           

                           
                               
                           

                       

                       
                   

   

   

         
         
    
       
   




The above is all I have done to implement this simple function. I feel that there should be a more convenient method. If anyone knows about it, please leave a message.

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