title: Where should a script block with jquery code be placed on an ASP.NET MVC Master Page?
body: <p>Getting started with jquery and having trouble getting hello world type example going for asp.net mvc. I get a runtime error "object expected" when trying to load a page with this script. </p>
  
  <p>A. Where should script tags be placed in a master page?
  B. What might I be doing wrong? There are definitely "a" elements in my page?</p>
  
  <pre><code>&lt;script src="../Scripts/jquery-1.2.6.min.js" type="text/javascript"&gt;&lt;/script&gt;
  
              &lt;script src="../Scripts/jquery.corner.js" type="text/javascript"&gt;&lt;/script&gt;
  
              &lt;script type="text/javascript"&gt;
                  $(document).ready(function() {
                      $("a").click(function(event) {
                          alert("Thanks for visiting!");
                      });
                  });
              &lt;/script&gt;
  </code></pre>