title: jquery .click() event.preventDefault() not working
body: <p>I'm building a web application that is extendable by dropping scripts into a preset directory. The script needs to read file headers before going to a page, so I need to use .preventDefault() when links are clicked and run some JScript first. Unfortunately I can't get past the .preventDefault()</p>
  
  <p>Here's my link format:</p>
  
  <pre><code>&lt;a href="path/to/file.php" class="filelink"&gt;Some Text&lt;/a&gt;
  </code></pre>
  
  <p>here's the jquery I'm trying to use to stop the default action:</p>
  
  <pre><code>    $( '.filelink' ).click( function( e ) {
          e.preventDefault();
          //do some other stuff here
      });
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>More Info:</p>
  
  <p>The <code>&lt;script&gt;...&lt;/script&gt;</code> is in my footer.
  This function is INSIDE <code>$(document).ready</code> AFTER a <code>$.ajax</code> call that builds the list of links this function is trying to listen for clicks of.</p>