<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Untitled Document</title>
<script language="javascript">
function sendvalue()
{
if(document.form1.textfield1.value!="")
document.form2.textfield2.value=document.form1.textfield1.value;
}
</script></head><body>
<form name="form1" method="post" action="">
<input type="text" name="textfield1">
<input type="button" name="Sub1" value="提交" onclick="sendvalue();">
</form>
<form name="form2" method="post" action="">
<input type="text" name="textfield2" value="">
</form>
<p> </p>
</body>
</html>
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Untitled Document</title>
<script language="javascript">
function sendvalue()
{
if(document.form1.textfield1.value!="")
document.form2.textfield2.value=document.form1.textfield1.value;
}
</script></head><body>
<form name="form1" method="post" action="">
<input type="text" name="textfield1">
<input type="button" name="Sub1" value="提交" onclick="sendvalue();">
</form>
<form name="form2" method="post" action="">
<input type="text" name="textfield2" value="">
</form>
<p> </p>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货