<form name='form1' id='form1' action='/xbcw/cw/xx_xx.action' method='post'>
<input type="button" id="btnSubmit" name="btnSubmit" value="保存" onclick="addKp()" class="Button2" style="width:60px;" />
<input type="button" id="btnSubmit" name="btnSubmit" value="下一步" onclick="doAddCwKpSubmit()" class="Button2" style="width:60px;" />
</form>
在form表单后添加iframe
<iframe style="display: none" id="rfFrame" name="rfFrame" src="about:blank"></iframe>
document.forms[0].target="rfFrame";
这样既提交了form,保存了数据,又可以做其他操作