ajax

$(function(){

  $.ajax({

    url : '.........',

    type : 'get',

    success : function(response){

      console.log(response)

    }

  });

});

 

$(function(){

  $.ajax({

    url : '.........',

    type : 'get',

    success : function(response){

      console.log(response)
                 
                 var html = template('id',
                  response);

                 $('.list').html(html);
                
                 console.log(html);

    }

  });

});

 

posted on 2018-10-13 10:52  素~  阅读(115)  评论(0编辑  收藏  举报