opener.document() won't work on CHROME
<p>Following Script isn't working in CHROME browser, IE is Fine.</p>

<p>I've changed <code>opener.document</code>... to <code>window.opener.document</code>.... but same situation.<br/>
It's not closing windows and transfer data to parent page.</p>

<pre><code>function mycoupon() {
    window.open("my_coupon3.jsp?amt=&lt;%=pay_price2%&gt;",
                'coupon_win',
                'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollb‌​ars=yes, resizable=no,width=780,height=540');
}

function sel_coupon(c_id, amt) {
    var tot = opener.document.joinform.Org_totalprice.value;
    tot = String(Number(tot) - Number(amt));
    opener.document.joinform.totalprice.value = tot;
    opener.document.joinform.coupon_id.value = c_id;
    opener.document.joinform.all["tot"].innerHTML = maskNum(opener.document.joinform.Org_totalprice.value) + "USD - " + maskNum(amt) + " USD &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;font color='red'&gt;Total : " + maskNum(tot) + " USD&lt;/font&gt;&lt;/b&gt; ";
    opener.cal_payment_money();
    self.close();
}
</code></pre>
