title: Is this how you define a function in jQuery?
body: <p>Is this how you define a function in jQuery?</p>
  
  <pre><code>$(document).ready( function () {
      var MyBlah = function($blah) { alert($blah);  };
   });
  </code></pre>
  
  <p>Now to call the function I do:</p>
  
  <pre><code>MyBlah('hello');
  </code></pre>