Embedded iframe and frame collection window in the floating layer, multiple methods to refresh the parent page
<script language=JavaScript> parent.location.reload(); </script> <script language=JavaScript> parent.location.reload(); </script>
Pop up the sub-page
<script language=JavaScript> window.opener.location.reload(); </script> <script language=JavaScript> window.opener.location.reload(); </script>
Sub window refreshes the parent window
<script language=JavaScript> self.opener.location.reload(); </script> <script language=JavaScript> self.opener.location.reload(); </script>
New to open () method to open the window
<script language=JavaScript> window.opener.location.href=window.opener.location.href; </script> <script language=JavaScript> window.opener.location.href=window.opener.location.href; </script>
Refresh the window opened with winodw.showModelDialog() method
Java code
<script language="javascript"> window.parent.dialogArguments.document.execCommand('Refresh'); </script>