<script language="JavaScript" type="text/JavaScript"> function MM_reloadPage(init) { if (init==true) with (navigator) { if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function popupWindow(pageURL,WindowName,features) { //v2.0 window.open(pageURL,WindowName,features); } </script> <form method="post" action="test.php" target="list" onSubmit="popupWindow('test.php','list','scrollbars=yes,width=500, height=400')"> <input type="text" name="name"> <input type="submit" value="Submit" name="submit"> </form>