jsで作成した配列をphpページに投稿しようとしています
var newEventArray = new Array();
newEventArray["title"] = title;
newEventArray["description"] = description;
newEventArray["type"] = type;
newEventArray["visibility"] = visibility;
newEventArray["priority"] = priority;
newEventArray["start"] = start;
newEventArray["end"] = end;
newEventArray["allDay"] = allDay;
$.ajax({
type: "POST",
url: "includes/processor.php",
data: {request: 'createevent',
requestarray: newEventArray},
dataType: "json",
success: function(data) {
},
error: function(data) {
}
});
しかし、phpの最後で配列を取得できません。firebugでチェックすると配列が表示されない