怎么把表单提交给另一个项目的jsp?求大神指点
怎么把表单提交给另一个项目的jsp?求大神指点
怎么把表单提交给另一个项目的jsp?求大神指点
2015-11-05
<form name="weizhiform" id="weizhiform" action="weizhi" method="post"><input type="submit" value="地址搜索内容"> <input type="text" id='name1' name="1" value="1"></form>里的name为“1”的内容传到<form id="neirongform" name="neirongform" action="neirong" method="post"><input type="submit" value="内容搜索地址"> <input id='name2' type="text" name="2"></form>
<SCRIPT LANGUAGE="JavaScript">
<!--
alert(document.getElementById('name1').value);
document.getElementById('name2').value = document.getElementById('name1').value;
alert(document.getElementById('name2').value);
//-->
</SCRIPT>举报