title: Trying to accomplish something simple with jquery ui autocomplete
body: <p>I want to use the users entered value into the input being affected by autocomplete's widget, hope the following is self-explanatory of what I want to achieve:</p>
  
  <pre><code>source: $(this).val()
  </code></pre>
  
  <p>I think <code>$(this).val()</code> won't work because source expects an object?</p>
  
  <p>I'm new to JavaScript, thanks.</p>
  
  <pre><code>$(".myinput").autocomplete({
      source:$(this).val()
  });
  </code></pre>