title: jQuery is loading only from master page layout
body: <p>I am using MVC framework. jQuery is loaded in the layout page but when I try to run script on pages that are using the layout page, the script is not running and gives this error:
  <strong>Uncaught ReferenceError: $ is not defined</strong>
  I am running the following script to debug</p>
  <pre><code>    $(document).ready(function () {
          if (jQuery) {
          // jQuery is loaded
            alert(&quot;Yeah!&quot;);
            alert($().jquery);
          } else {
          // jQuery is not loaded
            alert(&quot;Doesn't Work&quot;);
          }
      });
  </code></pre>
  <p>If I put this script it will run and if I put it in a page that uses the layout page it will not run.
  I tried to load jQuery locally and from CDN and both method has the same problem.</p>