Refresh parent page upon closing child with JavaScript
<p>I have the following function being called on the child page pop-up from the main page. The function:</p>

<pre><code>function getBenefitEdit(bfn_benefit, bfn_benefit_id, bfn_std_max_days, bfn_std_pcy_wait_days){
    document.forms[0].std_benefit_nm_policy_chg.value = bfn_benefit;
    document.forms[0].std_benefit_id_policy_chg.value = bfn_benefit_id;
    document.forms[0].std_max_days_policy_chg.value = bfn_std_max_days;
    document.forms[0].std_pcy_wait_days_policy_chg.value = bfn_std_pcy_wait_days;  
          document.forms[0].action = "nwrGetBenefitSTD.do";            
          document.forms[0].submit();
          window.opener.location.href = window.opener.location.href;
          window.close(); 
        }
</code></pre>

<p>I'm trying to get the new page to update the parent page, then refresh the parent page upon closing it. Unfortunately, while this works in FireFox, it fails in IE. Any suggestions?</p>
