JS Refresh Frame Script statement
1. How to refresh the page that contains the frame
Method One
<script language= Web page Special effects >
Parent.location.reload ();
</script>
2. child window Refresh parent window
<script language=javascript>
Self.opener.location.reload ();
</script>
Method Two
<body onload= "opener.location.reload ()" > Refresh when opening windows
<body onunload= "Opener.location.reload ()" > Refresh when closed
<script language= "JavaScript" >
Window.opener.document.location.reload ()
</script>
Method Three
Window.location.reload ()
var oiframebody = document.frames ("Syourframeid"). Document.body;
How to refresh the page of another frame (illustrated by the example above)
Statement 1. Window.parent.frames[1].location.reload ();
Statement 2. Window.parent.frames.bottom.location.reload ();
Statement 3. window.parent.frames["Bottom"].location.reload ();
Statement 4. Window.parent.frames.item (1). Location.reload ();
Statement 5. Window.parent.frames.item (' Bottom '). Location.reload ();
Statement 6. Window.parent.bottom.location.reload ();
Statement 7. window.parent[' Bottom '].location.reload ();