$.ajax({ url: '', type: 'post', data: {‘id':id}, dataType: 'json', success: function(data,statusText){ //待补充 }, error: function(xhr,e1,e2){ alert('系统错误'); } });