title: jQuery callback for click() not working
body: <p>I want to do a simple animation clicking on this link</p>
  
  <pre><code>&lt;a id="C" href="http://www.google.com"&gt;Make me disappear&lt;/a&gt;
  </code></pre>
  
  <p>Callback is</p>
  
  <pre><code>$("#C").click(function(event) {
      event.preventDefault();
      $(this).hide("slow");
  });
  </code></pre>
  
  <p>while on <a href="http://jsfiddle.net/qh4ua/1/" rel="nofollow">jfiddle</a> my code works, I am not able to make run this callback on a jsp page. I wrote js code in a different file imported with</p>
  
  <pre><code>&lt;script type="text/javascript" src="scripts/lib.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I am quite sure jQuery and lib.js are being included because from developer tools console (on Chromium) I can make it do the animation; moreover they are both in developer tools' scripts tabs.</p>
  
  <p>Thanks</p>