custom variable not parsing online

custom variable not parsing online

alex_begosalex_begos Posts: 2Questions: 0Answers: 0
edited September 2012 in DataTables 1.9
I created a test page with datatables server-side perfectly working on localhost but when I transferred it to the webserver the custom vars not parsing correctly
on localhost wamp this work correctly
[code] aoData.push( { "name": "COMPANY", "value": $('#COMPANY').val() } );[/code]
online not working

this is my code
[code] var oTable;
$(document).ready(function() {
oTable = $('#example').dataTable( {
"aaSorting": [[ 1, "desc" ]],
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "server_processing1.php",
"aLengthMenu": [
[10, 20,40, -1],
[10, 20,40, "All"]],

"aoColumnDefs": [
{ "bSortable": false, "aTargets": [18,19,20,21] }
],
"sPaginationType": "full_numbers",
"sDom": 'TRC<"clear">lfrtip',
"oTableTools": {

"aButtons": [
"copy",
{
"sExtends": "csv",
"sTitle": "exportcost"
},
{
"sExtends": "xls",
"sTitle": "exportcost"
},
{
"sExtends": "pdf",
"sTitle": "exportcost"
},
"print"
],


"sSwfPath": "jquery/TableTools/media/swf/copy_csv_xls_pdf.swf"


},
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
/*
* Calculate the total market share for all browsers in this table (ie inc. outside
* the pagination)
*/
var iTotalMarket = 0;
var sum = 0;
var minos = 0;

for ( var i=0 ; i

Replies

  • alex_begosalex_begos Posts: 2Questions: 0Answers: 0
    edited November 2012
    (solved)
    [code]
    change "type": "GET" to "type": "POST"
    [/code]
This discussion has been closed.