ajax 金额判断
function judge(){ var host = window.location.host; // ip+host var pro = "${pageContext.request.contextPath}"; //工程名 var datas = $("form").serialize(); var url = "http://" + host + pro + "/admin/reimbure/testBxMain/daysJudge?" + dates; $.ajax({ url:url, type:'POST', dataType:'text', //数据返回类型 success:function(){ //也可制定外部方法。 }, error:function(){ } }); }