87,992
社区成员
发帖
与我相关
我的任务
分享
<form action="testAction1.action" method="POST" id="nvt-form">
<input type="text" id="text1" name="text1" />
<button type="button" onclick="ref()">提交</button>
</form>
public String testAction1(String text1){}
public String testAction2(String text1){}
function ref()
{
$.post("testAction1.action",{"text1" : "$('#text1').val()"});
}