Rafraîchissant de la fenêtre Parent après la fermeture de la popup

Je suis entrain de créer une fenêtre pop-up qui va à hello.html. Je veux que mon original (page parent) pour recharger lorsque je ferme la fenêtre pop-up (hello.html). Je n'arrive pas à le faire fonctionner, mais je suis proche. Voici le code que j'ai jusqu'ici pour la page principale et le hello.html page....

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function open_win()
{
window.open("hello.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400");
}
</script>


<script language="JavaScript">

function refreshParent() {
  window.opener.location.href = window.opener.location.href;

  if (window.opener.hello.html)

 {
    window.opener.hello.html.close()
  }
  window.close();
}
</script>


</head>

<body>

<script type="text/javascript">

var d=new Date();
document.write(d);

</script>

<form>
<input type="button" value="Open Window" onclick="open_win()">
</form>
</body>
</html>

Ici est la hello.html...

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
</script>
</head>
<body>

Hello

</body>
</html>
Veuillez vérifier ceci: stackoverflow.com/questions/18321323/... pourrait aider quelqu'un

OriginalL'auteur John Doe | 2012-07-09