у меня есть такой массив
places = new Array();
places.push({name: "ci", loc: "bo"})
places.push({name: "ae", loc: "ea"})
if i try to send this data to server with this:
jQuery.ajax({type: "POST", url: "import",
data: { "places[]": places, kind: "pub" },
});
не работает.я получаю массив объектов JavaScript
как я могу это сделать?
спасибо