关于弹出层(iframe)时刷新页面的js

时间:2014-01-16 23:24:12   收藏:0   阅读:470
[javascript] view plaincopyprint?
  1. iframe弹出子页面刷新父页面iframe    
  2. parent.location.reload();  
[javascript] view plaincopyprint?
  1. 弹出子页面刷新     
  2. window.opener.location.reload();  
[javascript] view plaincopyprint?
  1. 子窗口刷新父窗口      
  2. self.window.opener.locaction.reload();  
[javascript] view plaincopyprint?
  1. 刷新一open()方法打开的窗口      
  2. window.opener.location.href = window.opener.location.href  
[javascript] view plaincopyprint?
  1. 刷新以winodw.showModelDialog()方法打开的窗口      
  2. window.parent.dialogArguments.document.execCommand(‘Refresh‘);  
  3. 或Response.Write("<script>window.location.href = window.location.href</script>");  
[javascript] view plaincopyprint?
  1. 刷新本页  
  2. Response.Write("<script>window.location.href=window.location.href; </script>");  
[javascript] view plaincopyprint?
  1. 刷新父页和本页面:  
  2. Response.Write("  

原文:http://www.cnblogs.com/sunshch/p/3521906.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!