title: How to initialize javascript on a webpage using the datatables plugin
body: <p>I am attempting to use a jQuery plugin called DataTables. I am new to jQuery and setting this up on my own site in as basic a way as possible to get familiar with it. On the last step on setting it up the guide says to:</p>
  
  <p>"Initialize DataTables".</p>
  
  <p>"All we need to do now is to tell DataTables to actually work on the page."</p>
  
  <p>The code I am suppose to Initialize is the following:</p>
  
  <pre><code>$(document).ready( function () {
      $('#table_id').dataTable();
  } );
  </code></pre>
  
  <p>I assume I am suppose to put it in a script tag in the head or right after the head like so:</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
      $(document).ready( function () {
          $('#table_id').dataTable();
      } );
  &lt;/script&gt;
  </code></pre>
  
  <p>sorry for such a basic question and enlightenment would be great! thanks!</p>