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

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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。