title: setInterval is preventing click handler from firing
body: <p>Here's an example of the code I have.  I load new content with 'setInterval'.  It's causing my click handler not to fire.</p>
  
  <p>The ajax calls a file called 'content.php' which just contains this:</p>
  
  <pre><code>&lt;a class='my_link'&gt;Something here&lt;/a&gt;
  </code></pre>
  
  <p>This is my page:</p>
  
  <pre><code>&lt;div id="content"&gt;
  &lt;a class='my_link'&gt;Something here&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <pre><code>$(document).ready(function(){
  $('.my_link').click(function() {
  alert($(this).html()); 
  return false;
  });
  
  function loadLog(){     
      var oldscrollHeight = $("#chatbox").attr("scrollHeight") - 20;
      $.ajax({
          url: "content.php",
          cache: false,
          success: function(html){        
              $("#content").html(html); //Insert chat log into the #chatbox div               
              var newscrollHeight = $("#chatbox").attr("scrollHeight") - 20;
              if(newscrollHeight &gt; oldscrollHeight){
                  $("#content").animate({ scrollTop: newscrollHeight }, 'normal'); //Autoscroll to bottom of div
              }               
          },
      });
  };
  setInterval (loadLog, 3000);
  });
  </code></pre>