When i add alert
or console.log
in <script>
the console show me this message "Uncaught SyntaxError: Unexpected identifier" for example in Modules\Users\Resources\views\index.blade.php
:
just i add alert('hello') after or before $(function() {
<script>
alert('hello')
$(function() {
var table = $('#users-table').DataTable({
processing: true,
serverSide: true,