title: Javascript vs jQuery Function Difference?
body: <p>I've been making a program and I want to know the difference between starting two functions like so:</p>
  
  <pre><code>$(function () {
     //content
  });
  </code></pre>
  
  <p>and</p>
  
  <pre><code>function Name () {
      //content
  }
  </code></pre>
  
  <p>Also, why can't I name the first example? I tried changing the first example to the second type, and the function stopped working fully. I've used jQuery with the first example and everything was fine, but with a different example, the function stopped working.</p>
  
  <p>So what's the difference?</p>