标题:
将一个表单提交给两个页面
[打印本页]
作者:
Nothing
时间:
2005-8-15 16:46
标题:
将一个表单提交给两个页面
<html>
<head>
<meta name=vs_defaultClientScript content="JavaScript">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
<script id=clientEventHandlersJS language=javascript>
<!--
function b1_click() {
form1.action="1.php";
form1.target="i1";
form1.submit();
form1.action="2.php";
form1.target="i2";
form1.submit() ;
return false;
}
//-->
</script>
</head>
<body>
<IFRAME name="i1" width="243" height="208"></IFRAME>
<IFRAME name="i2" width="243" height="208"></IFRAME>
<form method=post action="" ID="form1" target="" language=javascript >
<input type=text name=t1>
<input type=submit onclick="b1_click()">
</form>
</body>
</html>
作者:
yanguang.lan
时间:
2005-9-3 22:13
很好的例子,值得学习。
作者:
Breanna6998
时间:
2005-12-25 16:54
标题:
Bedazzling
Your remarks are so pointy and enlightened that I almost lost my sight. NOT.
欢迎光临 编程开发论坛 (http://bbs.lihuasoft.net/)
Powered by Discuz! 6.0.0