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"
});
In above js file example i want to add muliple url’s instead of one so is this possible using ‘,’ between multiple url ?
No, it’s not possible out of the box, you have to make multiple Ajax call, you can chain them together if it’s important.