I am trying to add more functionality to a table in my MVC application by using the jquery datatables plug-in. I have added the following to my index.cshtml page to try and turn the table 'dailyreporttable' from a standard table into a datatable:
<script src="~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#dailyreporttable').dataTable();
});
</script>
However when I preview the page in the browser, the datatables plus in has not been applied to the table, and it remains as a standard table. I don't have any experience with MVC or web development so I am not sure what exactly I am doing wrong.