javascript - datatable jquery 如何在控制台中查看表的数据

标签 javascript jquery html datatables

我通过 jquery 使用数据表(参见文档 https://datatables.net/)

我想查看表格的属性,特别是表格的总行数,我想在html中显示这个值,我该怎么做?

如何在 chrome 的控制台中显示表格的属性?

最佳答案

console.log(result); 添加到您的 JavaScript 代码中,result 是您要显示的属性。我直接从我的程序中复制了它,所以它应该适合你。祝你好运。

关于javascript - datatable jquery 如何在控制台中查看表的数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34077324/

相关文章:

html - 美丽杰基尔主题 : How to modify the page title color in CSS?

html - Chrome 中的字体渲染问题 - Google Web Fonts

javascript - 在moment js中设置输入时区

javascript - 使用 Jquery 调用 Javascript 函数

Javascript/html : How to generate random number between number A and number B?

javascript - 在鼠标事件上启动/停止函数执行 jQuery/JS

jQuery 选择器

javascript - 如何在不使用选择器刷新网页的情况下导航到其他网站或网页?

javascript - 在 Angularjs 外部函数中访问 $http.get 的结果

jquery - 在窗口调整大小时更改背景位置会导致图像闪烁