代码如下:
<form onsubmit="aa(this);">
<input type="text" name="" value="test" /><input type="submit" value="提交" />
</form>
<iframe src="" name="fA" frameborder="1" scrolling="no"></iframe>
<iframe src="" name="fB" frameborder="1" scrolling="no"></iframe>
<script type="text/javascript">
function aa(oForm){
oForm.action="http://bbs.51js.com";
oForm.target="fA"
oForm.submit();
oForm.action="http://www.iecn.net/bbs/";
oForm.target="fB"
oForm.submit();
return false;
}
</script>
button
表单
submit
form
单页