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

dynamic content doesn't load

$
0
0
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:
$("#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
      	         });
});
I checked, what I am getting as result, but nothing has been submitted. Not via get neither with post. But got an Type error.

TypeError: g[d + h][f] is undefined
Any idea, what I am doing wrong? Thanks for any help.. :-)

Viewing all articles
Browse latest Browse all 81669

Trending Articles



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