<form method="post" action="left.php" target="left" onsubmit="return RunOther();"><script>
function RunOther()
{
setTimeout("this.location='./other.php';", 500);
}
</script>延时 500ms 是为了确保左边的正确提交了,才更新右边框架
不可能完全同时改变的
function RunOther()
{
setTimeout("this.location='./other.php';", 500);
}
</script>延时 500ms 是为了确保左边的正确提交了,才更新右边框架
不可能完全同时改变的
function RunOther()
{
setTimeout("this.location='./other.php';", 500);
return true;
}
</script>
<form method="post" action="left.php" target="left" >
left.php
先处理right.php提交的表单,然后右边转向other.php
<script language="javascript">
<!--
right.location.href="other.php";
//-->
</script>