关于弹出层(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("  
posted @ 2014-01-16 08:34  齐鲁青未了  阅读(650)  评论(1编辑  收藏  举报