Code: Select all
$str.="
<tr>
<td><input type='checkbox' name='email_id[]' value=$value></td>
<td style='Font-Family:verdana;Font-Size:14'>".$contacts['name'][$i]."</td>
<td style='Font-Family:verdana;Font-Size:14'>".$contacts['email'][$i]."</td>
</tr>";Code: Select all
function refreshParent() {
window.opener.location.reload();
window.close();
}Everything works fine, but the values are not sent to main window. I tested without closing the popup, It is sent to the main window.
How to send the values and close the popup?