「<form>を使ってポップアップウィンドウに送信したい。」
ポップアップウィンドウは通常、Window.Openを使いますが、
<form>タグを使ってポップアップウィンドウに送信したい。
回答
ポップアップをした後に、
<form>のtargetをポップアップ先Windowに設定してからPOST又はGETすれば可能です。
ソース
<html>
<head>
<script type="text/javascript">
function popup_window(obj) {
wobj = window.open(obj.action, "pwin");
obj.target = "pwin";
wobj.focus();
return true;
}
</script>
</head>
<body>
<form method="POST" action="poptest.php" onsubmit="return popup_window(this)">
<input type="text" value="全角文字もPOSTできます" name="pop" size="50">
<input type="submit" value="ポップアップ送信">
</form>
</body>
</html>