Parse error: syntax error, unexpected end of file in javascript function -
i trying make cart list of web. it's working fine in hosted website when download @ home , make localhost give me error.
here code line
<script type="text/javascript"> $(document).ready(function() { $('#widget_tb_purchase').datatable({ "paging": true, "lengthchange": false, "searching": false, "ordering": false, "info": false, "autowidth": false, "sdom": 'lfrtip', "scrollcollapse": true, lengthmenu: [ [ 5 ] ] }); }); </script>
the spesific line said contain error
lengthmenu: [ [ 5 ] ] <<< [this line]
and computer @ work office using window 7 32-bit, @ home i'm using window 10 64-bit.
Comments
Post a Comment