title: Make Jquery Autocomplete or Select2 plugin work within knockout foreach binding
body: <p>I'm having problems with autocompletes generated by knockout foreach binding.
  Please have a look at the jsfiddle <a href="http://jsfiddle.net/u05afbpp/1/" rel="nofollow">http://jsfiddle.net/u05afbpp/1/</a></p>
  
  <pre><code>&lt;table data-bind="foreach: cars" class="table table-striped table-bordered"&gt;
   &lt;tr&gt;
      &lt;td&gt;
          &lt;span&gt;Test&lt;/span&gt;
          &lt;input type="text" class="autocomplete"/&gt;
      &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  
  $(function() {
  var availableTags = [
    "ActionScript",
    "AppleScript",
    "Asp",
    "BASIC",
    "C",
    "C++",
    "Clojure",
    "COBOL",
    "ColdFusion",
    "Erlang",
    "Fortran",
    "Groovy",
    "Haskell"
  ];
  $(".autocomplete").autocomplete({
    source: availableTags
  });
  });
  
  var viewModel = {
  cars:ko.observableArray(),
  myValue: ko.observable()
  };
  viewModel.cars.push("BMW");
  viewModel.cars.push("Benz");
  viewModel.cars.push("Renault");
  ko.applyBindings(viewModel);
  </code></pre>
  
  <p>What can I do to make it work?</p>
  
  <p>Thank you for your time.</p>