wkf41068 发表于 2013-1-29 10:33:19

ajax请求实例

$.ajax({ url : "/supportmng/pages/poapply/firstCheckerAction.do?actionFlag=addFirstChecker",type: "GET",dataType: "json",data: { area_id: area_id ,location_id: location_id,first_handler: checkers},async:false,cache:false,success : function(data) {    var existFlag = data.success;    if('false' == existFlag){   alert("<bean:message key="first.level.ChoosenDuplication"/>");    }else{      var urls="/supportmng/pages/poapply/firstCheckerAction.do?actionFlag=getFirstCheckerAll";       location=urls;            } },error : function() {alert('<bean:message key="sys.err.unknowerror"/>');}});
页: [1]
查看完整版本: ajax请求实例