I had an array like the following
var a = [
{
"start":"2015-01-12T00:00:00.000Z",
"allDay":false,
"promotion_option":"banner"
},
{
"start":"2015-01-13T00:00:00.000Z",
"allDay":false,
"promotion_option":"banner"
}
];
And I post that object of array like the following using JQuery Ajax
$.ajax({
type: method,
url: url,
data: a,
success: function(res) {
var message = res.mesg;
if (message) {
$('.flash').html(message).fadeIn(300).delay(250).fadeOut(300);
};
}
});
In my controller when I try dd(Input::all())
, it's just return
array(1) {
["undefined"]=>
string(0) ""
}
So, How I can get the value of what I had posted?