Jquery Datatables를 사용하고 있습니다. 콘솔 오류가 정의되지 않았습니다. Datatables에서 아약스 요청을 사용하지 않습니다.Jquery Datatable : f가 jquery.dataTables.min.js에 정의되지 않았습니다.
다음<table id="myTable" class="table table-striped table-bordered dataTable" >
<thead>
<tr>
<th>Trip ID</th>
<th>User Name</th>
<th>From</th>
<th>To</th>
</tr>
</thead>
<tbody>
<tr><td>123231</td></tr>
<tr><td>John</td></tr>
<tr><td>dfshggsf</td></tr>
<tr><td>dsfgfsgfsg</td></tr>
</tbody>
<tfoot>
<tr>
<th>Trip ID</th>
<th>User Name</th>
<th>From</th>
<th>To</th>
</tr>
</tfoot>
</table>
</table>
가 JQuery와 코드입니다 :
형식 오류 : f는 정의되지 [자세히 알아보기] 다음
$(document).ready(function(){
$('#myTable').DataTable({
'ordering':false,
dom: 'Bfrtip',
buttons:[
{
extend: 'excelHtml5',
title: 'Data export'
},
{
extend: 'pdfHtml5',
title: 'Data export'
},
{
extend: 'csvHtml5',
title: 'Data export'
},
{
extend: 'print',
title: 'Data export'
}
]
});
});
콘솔 오류가 아래
내 표입니다 jquery.dataTables.min.js : 27 : 64 jb
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery.dataTables.min.js:27:64,GA
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery.dataTables.min.js:48:224 E
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery.dataTables.min.js:92:256 m/각
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery-1.12.4.js:370:10 각
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery-1.12.4.js:137:10 m
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery.dataTables.min.js:82:457 h.fn.DataTable
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery.dataTables.min.js:164:289
http://localhost:8080/RajaRathaDashBoardApp/RajarathaTripHistory:38:4 화재
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery-1.12.4.js:3232:11 fireWith
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery-1.12.4.js:3362:7,174 <
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery.dataTables.min.js:92:342 준비
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery-1.12.4.js:3582:3 는
http://localhost:8080/RajaRathaDashBoardApp/resources/js/jquery-1.12.4.js:3617:3
내가이 문제를 해결 도와주세요 ... 어떤 도움을 이해할 수있을 것이다 을 완료했다.
jQuery 데이터 테이블 라이브러리는 어떻게 가져 오시겠습니까? – yarwest
@yarwest 스크립트 태그를 사용하여 –
전체 콘솔 오류를 제공 할 수 있습니까? – yarwest