title: Bind jQuery UI autocomplete using .live()
body: <p>I've searched everywhere, but I can't seem to find any help...</p>
  
  <p>I have some textboxes that are created dynamically via JS, so I need to bind all of their classes to an autocomplete. As a result, I need to use the new .live() option.</p>
  
  <p>As an example, to bind all items with a class of .foo now and future created:</p>
  
  <pre><code>$('.foo').live('click', function(){
    alert('clicked');
  });
  </code></pre>
  
  <p>It takes (and behaves) the same as .bind(). However, I want to bind an autocomplete...</p>
  
  <p>This doesn't work:</p>
  
  <pre><code>$('.foo').live('autocomplete', function(event, ui){
    source: 'url.php' // (surpressed other arguments)
  });
  </code></pre>
  
  <p>How can I use .live() to bind autocomplete?</p>
  
  <p>UPDATE</p>
  
  <p>Figured it out with Framer:</p>
  
  <pre><code>$(function(){
    $('.search').live('keyup.autocomplete', function(){
      $(this).autocomplete({
        source : 'url.php'
      });
    });
  });
  </code></pre>