title: jQuery .live() not working
body: <p>my actual problem is that .live() jQuery method is not working.</p>
  
  <p>This si the code where i use it:</p>
  
  <pre><code>    jQuery.fn.sb_animateMenuItem = function()
      {
      var mousehoverColor = '#0089F7';
      var duration = 250;
  
      return this.each(function()
      {
          var originalColor = $(this).css('background-color');
          $(this).live('mouseover', function()
          {
              this.style.cursor = 'pointer';
              $(this).animate().stop();
              $(this).animate(
              {
                  backgroundColor: mousehoverColor
              }, duration);
          });
          $(this).live('mouseout', function()
          {
              this.style.cursor = 'default';
              $(this).animate(
              {
                  backgroundColor: originalColor
              }, duration);
          });
      });
  };
  </code></pre>
  
  <p>This snipped is used i another page in this way:</p>
  
  <pre><code>&lt;script type="text/javascript" src="ui/js/jquery-1.4.2.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="ui/js/jquery-ui-1.8.1.custom.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="ui/js/color.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="engine/js/tiny_mce/tiny_mce.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="ui/js/ui.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      // UI effects
      $(document).ready(function()
      {
        $('button').sb_animateButton();
        $('input').sb_animateInput();
        $('.top_menu_item').sb_animateMenuItem();
        $('.top_menu_item_right').sb_animateMenuItem();
        $('.left_menu_item').sb_animateMenuItem();
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Since my site uses AJAX requests i used the .live method in the first snippet, but when i load the page the effects are not applied the the button/input... tags.</p>
  
  <p>If i remove the .live method and use the 'normal' way, ui effects defined in the first snipped are applied but only the the elements loaded before any AJAX request. The elements loaded after the ajax request are not affected by first snippet (though they have the same selector).</p>
  
  <p>Thanks for helping.</p>