jquery之ajax

$.ajax({
  type:"GET",
  url:"index.php?app=store",
  data:{a:a,b:b},
  dataType:"json" ,
  success: function(data){

    alert(data);

  }

});

echo json_encode($data);

posted @ 2017-04-20 08:59  山水道人  阅读(108)  评论(0编辑  收藏  举报