简体   繁体   English

DataTables 警告:表 id=tbl - 无效的 JSON 响应。 关于这个错误,请参阅 http://datatables.net/tn/1

[英]DataTables warning: table id=tbl - Invalid JSON response. about this error, please see http://datatables.net/tn/1

i made an html file and j query inside data table and ajax to call the data from PHP file我创建了一个 html 文件和 j 查询内部数据表和 ajax 以调用 PHP 文件中的数据

$(document).ready(function() { var table=$('#tbl').dataTable({ "serverSide":true, "ajax": { url: "search.php", dataSrc: "" }, columns:[ { data: "donor_Id" $(document).ready(function() { var table=$('#tbl').dataTable({ "serverSide":true, "ajax": { url: "search.php", dataSrc: "" },列:[ { 数据:“donor_Id”

    },    {
            data: "fname"

        },
        {
            data: "bloodg"

        },
        {
            data: "gender"
        },{
            data: "email"

        }

    ]});

}); });

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 数据表警告:表 id=table_companies - JSON 响应无效。 有关此错误的更多信息,请参阅 http://datatables.net/tn/1 - DataTables warning: table id=table_companies - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1 数据表警告:表 id=users_list - JSON 响应无效。 有关此错误的更多信息,请参阅 http://datatables.net/tn/1 - DataTables warning: table id=users_list - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1 DataTables 警告:table id=table - Ajax 错误。 有关此错误的更多信息,请参阅 http://datatables.net/tn/7 - DataTables warning: table id=table - Ajax error. For more information about this error, please see http://datatables.net/tn/7 DataTables 警告:表 id=products - Ajax 错误。 有关此错误的更多信息,请参阅 http://datatables.net/tn/7 - DataTables warning: table id=products - Ajax error. For more information about this error, please see http://datatables.net/tn/7 数据表警告:非表节点初始化 (DIV)。 有关此错误的更多信息,请参阅 http://datatables.net/tn/2 - DataTables warning: Non-table node initialisation (DIV). For more information about this error, please see http://datatables.net/tn/2 DataTables警告:表id = table-timsheet-Ajax错误。 有关此错误的更多信息,请参见http://datatables.net/tn/7 - DataTables warning: table id=table-timsheet - Ajax error. For more information about this error, please see http://datatables.net/tn/7 Datatables.net | 表 id=tbl_portfolio - 无效的 JSON 响应 - Datatables.net | table id=tbl_portfolio - Invalid JSON response 数据表警告表 id=datatables-example - 无效的 json 响应 - Datatables warning table id=datatables-example - invalid json response DataTables警告:表格ID = {id}-无效的JSON响应 - DataTables warning: table id={id} - Invalid JSON response DataTables警告:表格ID = staff_data-无效的JSON响应 - DataTables warning: table id=staff_data - Invalid JSON response
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM