0
Is there possible to add multiple url's in ajax post method?
$.ajax({
type: 'POST',
url: root + "projects/partners?json",
data:{key:$(this).val()}
success: refreshMyModel,
dataType: "json"
});
在上面的js文件示例中,我想添加多个url的而不是一个所以这是可能的使用多个url之间的','?是否有可能在ajax post中声明多个url?
你想通过多个网址获得什么?如果你想从多个url加载多个jsons,你应该有多个ajax调用 – intuitivepixel