Search
18503 results 991-1000
Forum
- 31st Jul 2014How do I show a "Loading..." message when I load the table from a new Ajax call?processing": true, "serverSide": false, "ajax": { "url":"some-site-with-data", "type":"GET" }, "columns": [... ], "order":
- 30th Jul 2014How to save dataTable content to database using ajax and php?I had the same problem and just resolve it using the following code: $('#table').dataTable({ "ajax": test.php' }); $("button").click(function(event) { event.preventDefault(); $.post( "test.php", {name: "John", time: "2pm"}) .done(function(data) { $('#table').DataTable().ajax.reload(); }); });
- 29th Jul 2014How can I load table column headings and data from server using ajax ?way using datatables inbuilt ajax function to do the
- 24th Jul 2014On ajax error: fnCallback for datatables 1.101.10 so that on ajax error Use ajax as
- 21st Jul 2014How can i load data using ajaxHere you go: ajax
- 21st Jul 2014how to handle Ajax 401 (unauthorized access error) in Jquery datatables?Thanks a lot Allan. I realized that 'ajax' options takes one of the 3 types of value: 'string', 'object', and 'function'. I used 'object' (similar to what you mentioned in your answer) to provide a custom 'error' callback.
- 17th Jul 2014Move fnServerData & fnServerParams to the new AJAX method?I've tried using the ajax method before, but it
- 14th Jul 2014ServerProcessing and local ajax search using DataTables 1.10I think I got it working after digging into the docs: "processing": true, "serverSide": true, "ajax": { "url": "scripts/recommendations_processing.php", "data": function (d){ d.cid = $('#committee_one').val(); d.mid = $('#ministry_one').val(); d.sid = $('#sector_one').val(); } },
- 12th Jul 2014Ajax vs HTML Which is better when comparing themSuper...thank you so much. At least now I can make an educated choise in what to do. I will definately go for ajax when SEO is not important. When SEO is vital I will go for DOM
- 7th Jul 2014Reload ajax with parametersWhen declaring the AJAX data fields use functions, for example: ajax: { url: 'url.php', type: 'POST', data: { dateDeb: function() { return $('#dateDeb').val() }, dateFin: function() { return $('#dateFin').val() } } }