title: jQuery .click() problem
body: <p>I hava a simple jQuery script. I use .ajax() to get some info from my database, it works perfect.</p>
  
  <p>The problem is the php-code genereate xhtml code with a-tags with different class, like .info, .delete and .edit.</p>
  
  <p>I want to do stuff when i click in my .info link. 
  I have tried this code:</p>
  
  <pre><code>$('a.info').click(function (e) {
      e.preventDefault(); 
      alert('Do stuff');
  });
  </code></pre>
  
  <p>it dosen't work at all, nothin happens. firebug gives me no error so i dont know how to solve the problem. </p>
  
  <pre><code>    $('a').click(function (e) {
      e.preventDefault(); 
      alert('Do Stuff 2');
  });
  </code></pre>
  
  <p>works on all links on the site but not on the link that is generated from the php code.</p>
  
  <p>my code: </p>
  
  <pre><code>$(function(){       
  $.ajax({
      type: "POST",
      url: 'users.php',
      data: 'getall=true',
      success: function( r ) { 
          $(' #content ').html( r );
      },
      error: function( ) {
          alert('Error');
      }
  });
  
  $('a.info').click(function (e) {
      e.preventDefault(); 
      alert('Do Stuff');
  });
  
  
  $('a').click(function (e) {
      e.preventDefault(); 
      alert('Do Stuff 2');
  });
  </code></pre>
  
  <p>});</p>