jQuery function calling
<p>I'm trying to have a callback call a function inside $(document).ready(..)</p>

<p>How do I call a function from outside this?</p>

<p>Like for example:</p>

<pre><code>$(document).ready( function(foo) {
   var bar = function() { ... };
});

// How do I call bar() from here?
</code></pre>
