function submitTaskScore(formid) {//formid表示的是表单的id
$.ajax({
type:"post",
url:"companyAndDistributeAction!scoreTask",//后台处理程序
data:$(formid).serialize(),
success:
function(){
document.getElementById("hjzggContent").innerHTML="<center><h1>评论成功!</h1>
</center> <a href='allFinishedTask'>返回</a>";
},
error:
function(){
alert("评论失败!");
}
});
}