title: DataTables not working in ASP.NET Web Application VS 2013
body: <p>I am migrating a web application project I built in Visual Studio 2012 into the new ASP.NET Web Application (Web Forms) (4.5) in Visual Studio 2013.  It was my understanding from reading that the new structure included jQuery 1.10.2 within the default Site.Master and, thus, any inheriting content page.
  I have a datatable, built and working fine in the 2012 version.  However, when moving the code to 2013, I get a bunch of problems.  The first was:
  0x800a1391 - JavaScript runtime error: '$' is undefined
  So, I thought maybe it doesn't include jQuery I as I expected.  So I added"</p>
  
  <pre><code> &lt;script src="/Scripts/jquery-1.10.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>using the jquery file that was in the default project.  That gave me the error:</p>
  
  <blockquote>
    <p>0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'dataTable'</p>
  </blockquote>
  
  <p>That was expected since I didn't have a reference yet.  So I added the same file I used for 2012:</p>
  
  <pre><code>&lt;script src="/Scripts/jquery.dataTables.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>No effect. Same error.  So I replaced it with:</p>
  
  <pre><code>&lt;script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Again, no effect.  So, frustrated, I added a new web form (not from a Master page).  I put in a simple DataTable, and ran it with my original files:</p>
  
  <pre><code>&lt;script src="/js/jquery-1.9.1.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  
  
  <p>And! It didn't work...  Last ditch, I put in:</p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;  
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;  
  &lt;script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And it WORKED!  I didn't know why, but it worked!  So I took these lines and put them into my original content page and it failed.  Again, not knowing what DataTables are.  Does anyone have any idea what is going wrong?</p>
  
  <p>Thanks in advance!</p>