$.getJSON()

$.getJSON(
    'order.php',
    {op:'detail',order_id:id},
    function(data){}
)

等价于

$.ajax({
  url: url,
  data: data,
  success: callback,
  dataType: json
});

 

posted on 2018-02-24 11:03  薇薇123456  阅读(94)  评论(0编辑  收藏  举报

导航