$(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); } });});
ajax
原文地址:https://www.cnblogs.com/jy13638593346/p/9782170.html