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(){
       }   
    });       
}

 

posted @ 2017-10-19 11:33  halo-漾  阅读(175)  评论(0编辑  收藏  举报