title: Javascript refreshing parent page pop up message
body: <p>I am using JavaScript for closing a pop up and refreshing the parent page. When I click on "close" button in the pop up, a new pop up message from internet explorer is showing up. How can we overcome this by not showing the pop up message by internet explorer.</p>
  
  <p>I am not bale to upload the image But this is the message in the pop up:
  "To display the webpage again, the web browser needs to resend the information you've previously submitted.</p>
  
  <p>If you are making a purchase you should click cancel to avoid the duplicate transaction. Otherwise click retry to display the web page again".</p>
  
  <p>Please find the code i have used below:</p>
  
  <pre><code>window.onunload = refreshParent;
  function refreshParent() {
  window.opener.location.reload();
  window.close();
  }
  </code></pre>