138
rated 0 times
[
144]
[
6]
/ answers: 1 / hits: 20712
/ 13 Years ago, wed, february 29, 2012, 12:00:00
I use datatables.net jQuery plugin to work with ajax tables. I want to send a POST request with JSON data in it. I use JSON.stringify to turn my data into JSON. It produces the result like this:
[
{name:sEcho,value:1},
{name:iColumns,value:9},
{name:sColumns,value:},
{name:iDisplayStart,value:0}
...]
Though I want it to be like this:
{sEcho:1, iColumns:9, sColumns:, iDisplayStart:0} ...
How can I do it?
More From » html