Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82436

how to format table.ajax.params() to same format as a normal ajax request?

$
0
0

var params = table.ajax.params();
window.location.href = './ServerSide.php?ExportToExcel=Yes&dt='+JSON.stringify( params );

im following this code, but the code that gets sent to my server does not follow the format of a normal AJAX request, is there anyway i can convert "params" to the same format?

im using window.location.href as i am creating a button to download the filtered data table


Viewing all articles
Browse latest Browse all 82436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>