我需要进行两个不同的ajax调用,并将json数据传递给另一个函数.我怎么能使用下面的ajax调用格式呢?
$.ajax({
url:'',
type:'GET',
dataType: 'json',
success: callme
});
$.ajax({
url:'',
type:'GET',
dataType: 'json',
success: callme
});
function callme(JSON1,JSON2){
}
Run Code Online (Sandbox Code Playgroud)