title: Trying to run two functions when document is ready
body: <p>I'm trying to run two pieces of code within the  <code>$(document).ready(function() {</code> of jquery. But the code : </p>
  
  <pre><code>$.ajax({
      url: 'getallurls'
  });
  </code></pre>
  
  <p>is not being called when I add : </p>
  
  <pre><code>$('#example').dataTable({
      "sPaginationType": "full_numbers"
  });  
  </code></pre>
  
  <p>To : </p>
  
  <pre><code>$(document).ready(function() {
  
      $('#example').dataTable().makeEditable({
          sDeleteURL: "/deleteRow"
      });
  
      $('#example').dataTable( {
           "sPaginationType": "full_numbers"
      }); 
  </code></pre>
  
  <p>Here is the complete code snippet : </p>
  
  <pre><code>$(document).ready(function() {
  
      $('#example').dataTable().makeEditable({
          sDeleteURL: "/deleteRow"
      });
  
      $('#example').dataTable({
          "sPaginationType": "full_numbers"
      }); 
  
      $.ajax({
          url: 'getallurls', ...............   
      });
  });
  </code></pre>