popup1.php
<script>
function pepz(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
</script>
<a href="" onclick="pepz('<?php echo"popup2.php"; ?>', 'myPop1',465,410)"><?php print"Click"; ?></a></td>
popup2.php
<form action='#' method='post'>
<input type='submit'>
<form>
在弹出窗口中单击表单中的提交按钮后,我需要关闭弹出窗口并刷新调用弹出窗口的父页面。
我究竟做错了什么?谢谢 :D