Search
10314 results 3791-3800
Forum
- 16th Jan 2015cant load json data - Uncaught TypeError: Cannot read property 'length' of undefinedThank you very much Allan, now load the json file correctly, this is the final script: $('#example').dataTable( { "ajax": { "url": "js/notice.json", "dataSrc": "noticeArray" }, "columns": [ { "data": "title" }, { "data": "id" }, { "data": "subtitle" }, { "data": "urlImg" }, { "data": "urlImgXl" }, { "data": "detail" }, { "data": "type" }, { "data": "info" } ] } );
- 15th Jan 2015Updating Select list in Editor popup containerclick(function() { $.ajax({ type: "POST", url: "lib/title_test.php", dataType:'json', success: function(
- 15th Jan 2015Providing Default Ajax ImplementationJSON.stringify(params) }; jQuery.extend(params, httpParams); //console.log("server url " + dtSettings.oInit.$jwAjax.url); $jw.secureAjax({ url: dtSettings.oInit.$jwAjax.url,
- 15th Jan 2015Join tables - one-to-many join on 1 tables and one-to-one join on anotherThe page linked to above doesn't use ajax.dataSrc - it simply uses dataSrc, which is not a parameter DataTables knows about. As per the ajax.dataSrc documentation examples you want something like: $('#example').dataTable( { "ajax": { "url": "database/connections/attendance.php", "dataSrc": "" }, ... } ); Allan
- 13th Jan 2015Why "Uncaught TypeError: Cannot read property 'length' of undefined"table#venues').DataTable( { serverSide: true, ajax: { url: "/api/venues", dataSrc: function (json)
- 13th Jan 2015Uncaught TypeError: Cannot read property 'replace' of undefinedan 'edit' and 'remove' url. I don't require the
- 12th Jan 2015DataTables Editable Not Workinga link (i.e. the url) to the page you
- 11th Jan 2015post params in ajaxyour suggestion, $('#example').dataTable( { "ajax": { "url": "url", "type": "POST", processData:
- 9th Jan 2015Reloading AJAX DataI tried every combination I could think of and the only way I could get this to work was to change Mytable.ajax.reload(); to: var url = "php/table.allrecords.php?Lname=" + ui.item.last; Mytable.ajax.url( url ).load();
- 7th Jan 2015I need pass to data row in DRUDmy question is . Can I pass other values in the table by the url or just the id ?