0

请帮助我为什么会出现此错误。在这里我想在 JqData 表中显示我的表

<script src="~/Scripts/jquery-1.10.2.js"></script>

<script src="~/Scripts/jquery.dataTables.min.js"></script>
<link href="~/Scripts/jquery.dataTables.min.css" rel="stylesheet" />
<table id="myTable">
    <thead> <tr> <td>EmpId</td> </tr></thead>
@foreach (var ee in Model.GetEmployeeFromHybridge) {
    <tbody><tr> <td>@ee.Emp_Id</td></tr> </tbody>
        }        
</table>

<script type="text/javascript">
    $(document).ready(function () {
        alert();
        $('#myTable').DataTable(

        );
    });
</script>
4

0 回答 0