指定表单提交的页面名称
<iframe src="target.php" name="getDate"></iframe>
<iframe src="submit.php" name="sendDate"></iframe>
submit.php中
<FORM METHOD=POST ACTION="target.php" target="getDate">
......
<INPUT TYPE="submit" value="submit">
</FORM>
:_)
<iframe src="target.php" name="getDate"></iframe>
<iframe src="submit.php" name="sendDate"></iframe>
submit.php中
<FORM METHOD=POST ACTION="target.php" target="getDate">
......
<INPUT TYPE="submit" value="submit">
</FORM>
:_)
function reload()
{
?>
<script LANGUAGE=javascript>
window.parent.left_mail.location='../prog/left.php';
</script><?php
}
?>
就像这样:
<FORM METHOD=POST ACTION=<?php echo "bb_content.php?ID=$ID&c=$Cate"; ?> target="_parent">
<TEXTAREA NAME="vr_content" ROWS="4" COLS="50"></TEXTAREA><br>
<INPUT TYPE="submit" name=submit value=Submit>
<INPUT TYPE="reset" name=reset>
</FORM>
$ID和$Cate是target中要给submit.php的变量,怎么传过来呢?