Datatable inside jquery tab shows $output below the table
Datatable inside jquery tab shows $output below the table
Hi there
I placed Datatable inside jquery tab and the table works fine but below the table I have the next output
{"sEcho":0,"iTotalRecords":"12","iTotalDisplayRecords":"12","aaData":[]}
Does anyone has idea why and how to remove this part
I placed Datatable inside jquery tab and the table works fine but below the table I have the next output
{"sEcho":0,"iTotalRecords":"12","iTotalDisplayRecords":"12","aaData":[]}
Does anyone has idea why and how to remove this part
This discussion has been closed.
Replies
I assume, somewhere in your PHP code you do an echo json_encode($output); where $output is the array that is shown in your code. I guess, you do that echo output twice!? The first assures that your DT is generated correctly, and the second is this output you see.