$.ajax({
url:"${pageContext.request.contextPath}/Servlet",
data:{method:"方法名字",name:value},
type:"POST",
dataType:"json",
async:false,
cache:false,
success:function(result){
if(!result){
$("#"+id+"Error").text("你不好");
return false;
}
}
});
阅读(734) | 评论(0) | 转发(0) |