title: JQuery UI autocomplete NOT WORKING with Chrome on mac OSX
body: <p>That's really really weird.</p>
  
  <p>In the web app I did (look <a href="http://epos-couch.cloudant.com/epos-couch/_design/epos-couch/index.html" rel="nofollow">here</a>), thanks to <a href="https://cloudant.com/" rel="nofollow">cloudant guys</a> for free hosting, I finally implemented <a href="http://jqueryui.com/autocomplete/" rel="nofollow">Jquery UI Autocomplete</a> widget.</p>
  
  <p>I'm using backbone as a framework.</p>
  
  <p>What is really really weird is that IT WORKS WITH EVERYTHING (even IE9!) except CHROME on apple OS.</p>
  
  <p>What I have is that no dropdown list appears when clicking on the text input field.</p>
  
  <p>Chrome on a different OS wokrs (e.g. on win7).</p>
  
  <p>This is the code I use to implement the widget, I report her ejust for the sake of completeness, even if I suppose that that the problem I have DOES NOT depend on the code.</p>
  
  <pre><code>        $(select).on("click",function(){
              var valori=["ex1", "ex2", "ex3"];
              $(input).autocomplete({
                  minLength: 0,
                  source: valori,
                  focus:function(){
                      },
                  select:function(event, ui){
  
                      var categoria=$(select).attr('value');
                      var valore=ui.item.value;
                      self.model.set({category:categoria, value:valore});
                      //~ console.log(self.model);
                      return true;
                      }
                  }).focus(function() {
              $(this).autocomplete("search", "");
                  });
              });
  </code></pre>
  
  <p><strong>---- UPDATE ------</strong></p>
  
  <p>I made a comparison btw chrome running on ubuntu and chrome running on macosx.</p>
  
  <p>The result is that under ubuntu, the DOM element gets created (before closing the body tag), while under macosx the DOM element IS NOT  created at all.</p>
  
  <p>It looks like under macosx the onclick event is not catched.</p>