jQuery is not undefined, but I can't use it?
<p>I use a function to check if jQuery exist or not in my website! Well, the first lines are :</p>

<pre><code>if (typeof jQuery == 'undefined') {
    // it doesnt exist. I load it
} else {
    console.log($);
    $(document).ready(function() {
        startMyFunction();
    });
};
</code></pre>

<p>the problem is that, when I load the page, jQuery is not undefined, so it go directly to the else statment (I see the console.log message).</p>

<p>But, seems that I can't use it. <code>console.log($)</code> print <code>undefined</code>, and I get <code>$ is not a function</code> when the <code>$(document).ready</code> is called.</p>

<p>How is possible?</p>
