我正在使用jquery datatable与服务器端处理。如何在php服务器端生成错误然后捕获并显示给用户。
如果在服务器端返回的数据中设置error参数,则Datatable应显示该消息。参考https://datatables.net/manual/server-side
error