strange ajax get query
strange ajax get query
EugenOS
Posts: 2Questions: 1Answers: 1
Hello
I have a strange datatables ajax query in serverside mode
<table class="table table-bordered table-condensed newage_table" id="view" >
<thead>
<th>Table name</th>
<th>Stats</th>
</thead>
</table>
<script>
$(document).ready( function() {
$('#view').dataTable( {
"aProcessing": true,
"aServerSide": true,
"ajax": "/work/tables_list_d.php?ajax=1",
columns: [
{data:"TABLE_NAME"},
]
} );
} );
</script>
so there is a strange request from datatables. it looks like:
http://.../work/tables_list_d.php?ajax=1&_=1503660481279
with different numbers like "1503660481279"
so what is the "_" data field? and why is this so strange request?
(or this is me is so newbie)???
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
the reason was cause i use legacy sample, when writing this. so when i change "aServerSide" to serverSide, "ajax" to ajax this starts to work fine
Thanks for the update. Good to hear you have it working now.
Allan