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

JavaScript实现弹出子窗口并传值给父窗口_javascript技巧

WBOY
Release: 2016-05-16 16:25:48
Original
1401 people have browsed it

新建父窗口页面:

加入以下脚本

复制代码 代码如下:

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

    First



   

        
        

    



创建second.html页面:

复制代码 代码如下:

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

    second
   



   

   

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

                                                                   
                                   
                               

                               
                               
                           

                           
                               
                           

                           
                               
                               
                           

                           
                               
                           

                       

                       
                   
   

   

         
         
    
       
   




以上就是本人实现这个简单功能的全部内容了,感觉应该还有更便捷的方法,有知道的小伙伴还请留言说明下。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!