Get table array to work with
Get table array to work with
Hi, I need to get the (json?) array that is crerate with this code:
[code]var oTable = $('#tab_show').dataTable( {
"aaSorting": [ [11,'asc'] ],
"sDom": '<"top"lpf>rt<"bottom"ip><"clear">'
} );[/code]
I need it, because I have to sort data to make a smaller json array and send it via POST to another page.
Using Firebug to check the script, I've seen that the full table is in oTable[0].outerHTML. Is there a way to get it as array?
Thanks
[code]var oTable = $('#tab_show').dataTable( {
"aaSorting": [ [11,'asc'] ],
"sDom": '<"top"lpf>rt<"bottom"ip><"clear">'
} );[/code]
I need it, because I have to sort data to make a smaller json array and send it via POST to another page.
Using Firebug to check the script, I've seen that the full table is in oTable[0].outerHTML. Is there a way to get it as array?
Thanks
This discussion has been closed.
Replies
Allan
When I use fnGetData, I found the original value of that cell, but not that I just put in it. And also the value of the input field, I read the original value, but not the last typed input... Is there something to update the oTable object?