标签:
$.ajax({ type:‘post‘, url:‘/customize/control/servicesTicketServices‘, data:{operFlag:‘search‘}, dataType:‘json‘, async:false, success:function(returnValue){ // 处理成功,遍历返回值处理 var searchRTDataAry = eval(returnValue); $.each(searchRTDataAry, function (i, n) { var userName = n["meta_userName"]; }); },error:function(XMLHttpRequest, textStatus, errorThrown){ // 处理失败,显示错误信息 var errorInfo = "status:"+XMLHttpRequest.status; errorInfo+= ",readyState:"+XMLHttpRequest.readyState; alert("处理失败,[错误信息:"+errorInfo+"]"); } });
标签:
原文地址:http://my.oschina.net/moks/blog/529595