title: How to change textbox value on select event with autocomplete (jQuery UI)
body: <p>Why won't <code>#input-myBox</code> clear when I select an item? It seems autocomplete is preventing my <code>.val('')</code> to work so how can I workaround this?</p>
  
  <pre><code>$("#input-myBox").autocomplete({
      source: response,
      minLength: 1,
      select: function(event, ui) {
                  var selectedObj = ui.item;
                  $("#input-myBox").appendTo(".foo");
                  $("#input-myBox").val('');  
      }
  });
  </code></pre>