I\'m a noob to MVC, jquery and DataTables. I get a Microsoft Visual Studio warning dialog when I hit F5 to build and bring up the site locally for development/debug:
OK,
Remove the {} between the () of the datatable
write like this
$(document).ready(function () {
$('#table_id').dataTable();
});
Fiddle example
When you want to add options to the datatable you use the {} in order to consume the options
like this:
$(document).ready(function() {
$('#example').dataTable( {
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": false,
"bInfo": false,
"bAutoWidth": false
} );
} );
See example