首页  >  文章  >  web前端  >  JavaScript实现弹出子窗口并传值给父窗口_javascript技巧

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

WBOY
WBOY原创
2016-05-16 16:25:481443浏览

新建父窗口页面:

加入以下脚本

复制代码 代码如下:

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">
                       
                       
                       
                       
                                        
                               
                                   
                               

                                                                   
                                   
                               

                               
                               
                           

                           
                               
                           

                           
                               
                               
                           

                           
                               
                           

                       

                       
                   
   

   

         
         
    
       
   




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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn