title: JQuery Datatables not working on ASP.NET MVC 5
body: <p>I've used the nuget Package Manager Console with the command <code>install-package jquerydatatablesmvc</code> to install jquery datatables to my MVC 5 project and it installed version 1.9.4.</p>
  
  <p>However, after including the required scripts and css files, the data table is not still working.</p>
  
  <p>Here is what I've added to the page:</p>
  
  <pre><code>&lt;link href="~/Content/DataTables-1.9.4/media/css/jquery.dataTables.css" rel="stylesheet" /&gt;
  &lt;script src="~/Scripts/DataTables-1.9.4/media/js/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="~/Scripts/DataTables-1.9.4/media/js/jquery.dataTables.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And the jquery code:</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $('#myTable').DataTable();
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Here is the actual table:</p>
  
  <pre><code>&lt;table class="table" id="myTable"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Registered By&lt;/th&gt;
              &lt;th&gt;Is Active&lt;/th&gt;
              &lt;th&gt;Actions&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
             @foreach (var m in Model)
              {
                  &lt;tr&gt;
                      &lt;td&gt;@Html.DisplayFor(modelItem =&gt; m.Name)&lt;/td&gt;
                      &lt;td&gt;@Html.DisplayFor(modelItem =&gt; m.RegisteredBy)&lt;/td&gt;
                      &lt;td&gt;@Html.DisplayFor(modelItem =&gt; m.IsActive)&lt;/td&gt;
                      &lt;td&gt;@Html.ActionLink("Edit", "Edit", new { id = m.Id }) | 
                      @Html.ActionLink("Details", "Details", new { id = m.Id }) | 
                      @Html.ActionLink("Delete", "Delete", new { id = m.Id })&lt;/td&gt;
                  &lt;/tr&gt;
              }
  
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Where did I mess up?</p>