dynamic content doesn't load

dynamic content doesn't load

qm_bqm_b Posts: 1Questions: 0Answers: 0
edited October 2012 in DataTables 1.9
Hi,
First of all: it's a great plugin with a lot of options! thanks for your great work!
Now my issue: I have set up a very basic dataTable for testings, but it seems, I am not able to get any result. The html table is a simple table, 7 columns are defined in thead. The setup of dataTable looks like:
[code]
$("#example").dataTable({

"bJQueryUI": true,
"bServerSide": true,
"bProcessing": true,
"sAjaxSource": "./feeds.php",
"aoColumns": [
{
"sName": "read",
"mData": "read"
},
{
"sName": "form",
"mData": "form"
},
{
"sName": "date",
"mData": "date"
},
{
"sName": "submitter",
"mData": "submitter"
},
{
"sName": "status",
"mData": "status"
},
{
"sName": "priority",
"mData": "priority"
},
{
"sName": "view",
"mData": "view"
}
],
'aoAjaxData': function (aoData) { aoData.push({'content':'submitter'}); };
"fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
oSettings.jqXHR = $.ajax( {
"dataType": 'json',
"type": "POST",
"url": sSource,
"data": "aoData",
"success": fnCallback
});
});
[/code]
I checked, what I am getting as result, but nothing has been submitted. Not via get neither with post. But got an Type error.
[quote]
TypeError: g[d + h][f] is undefined
[/quote]
Any idea, what I am doing wrong? Thanks for any help.. :-)
This discussion has been closed.