title: Why is $(document).ready(); undefined?
body: <p>I thought that I was doing everything right, however I keep getting this error. $(document).ready(); // undefined in the console. I imported my jquery script. </p>
  
  <pre><code>    &lt;script src = "//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script &gt;
  
          $(document).ready(function(){
  
              $("div#chat").hide();
  
          });
  
          function send_file(){
  
          }
  
          function remove_selected(){
  
          }
  
          function changeToFile(){
  
          }
  
          function chatToProfile(){
  
          }
  
          function changeToChat(){
  
          }
      &lt;/script&gt;
  </code></pre>