标签:
<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" />
<input type="button" id="btnSubmit" name="btnSubmit" value="下一步" onclick="doAddCwKpSubmit()" class="Button2" />
</form>
<iframe id="rfFrame" name="rfFrame" src="about:blank" style="display:none;"></iframe>
JS:document.forms[0].target="rfFrame";
JQuery:$("#f2").attr("target","rfFrame");
标签:
原文地址:http://www.cnblogs.com/limeiky/p/5599705.html