我有一个使用DataTables的页面,除了Internet之外,每个浏览器都运行得非常好(所有7-10版本的版本都会出现错误)。该错误与标题Object doesn't support property or method 'dataTable'中的错误相同。这个问题已经在多个系统上观察到了,我正在Win7的一个虚拟盒实例上进行测试。该错误将在就绪函数之后的第一行抛出。
$(document).ready(function(){
var invoiceTable = $('#invoiceTable').dataTable( {
"aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
"iDisplayLength": 50, // Set default of 50 rows
"bSort": false
})可将数据存储库加载在
<script src="https:////cdn.datatables.net/1.10.5/js/jquery.dataTables.min.js" type="text/javascript"></script>有人知道什么会导致IE在DataTables中抛出这个错误吗?
发布于 2016-01-06 20:44:17
请使用以下代码:
<script src="https://cdn.datatables.net/1.10.5/js/jquery.dataTables.min.js" type="text/javascript"></script>https://stackoverflow.com/questions/34642089
复制相似问题