jkd is right. but if you want a pop up with no toolbars and menus, you can add this:
function openPopup(){
window.open("","_popup","toolbars=0,location=0,width=500,height=500");
return true;
}
<form name="form" method="post" action="submit.php" target="_popup" onsubmit="return openPopup()">