title: Preventing Links before jQuery is Loaded
body: <p><strong>How can I prevent links on click event before jQuery is loaded?</strong><br />
  The reason is I have few links that make AJAX calls through jQuery ajax functions and if user click them before jQuery framework is loaded the browser cant trigger jQuery ajax function and will follow links <code>href=&quot;...&quot;</code>.</p>
  <p>Edit: Can I use this?</p>
  <pre><code>&lt;head&gt;
  ...
    &lt;script type=&quot;text/javascript&quot;&gt;
     window.onload = prevCl();
     function prevCl() {
      var links = document.links[];
      links.onclick = check();
     }
     function check() {
      if (typeof jQuery == 'undefined') { 
       return false;
      }
     }
    &lt;/script&gt;
  &lt;/head&gt;
  </code></pre>