Rumah >hujung hadapan web >html tutorial ><a href>如何向两个action同时传一个值?_html/css_WEB-ITnose
<a href = "GetBasForm.action?formId=${formId}></a>
<a href = "BasForm.action?formId=${formId}></a>
调用js来做吧
<td><a href = javascript:user(${formId})>姓名</a></td>
function user(formId) { ???//这里怎么写?}
function user(formId) {
window.open('BasForm.action?formId='+formId);
location='GetBasForm.action?formId='+formId;
}
ajax.....
用两个ajax来同时传值