由于加入了水平滚动条的功能后,列表遍历出现了问题
var DataTable;
var loadList = function(str)
{
DataTable = $('#attendLogTable').DataTable({
scrollX:true,
sScrollXInner:"150%",
processing:true,
serverSide:true,
language:{url:'<%=basePath%>js/dataTable-lang-zhCN.json'},
ajax:'<%=basePath%>attendLog/attendLogListJson.shtml',
列表不能正常遍历,报错为Uncaught TypeError: Object [object Object] has no method 'match'
然后呢,详细问题呢?
列表不能正常遍历,报错为Uncaught TypeError: Object [object Object] has no method 'match'(页面调试报错)
自己在引入jar包上有了冲突,仔细核对就能发现