jQuery - text field value change after jquery auto complete select event
<p>Simple text field change after jquery auto complete select event. I want to split the data and display it in other text fields. I am trying this. This doesn't change any values at all. What do I need to change here? </p>

<pre><code>$(function() {
  $("#term").autocomplete({
    source: function (request, response) {
      $.post("/users/search", request, response);
    },
    minLength: 2,
    select: function(event, ui){
        $('#div2').html(ui.item.value); #doesn't populate with new text. 
        document.getElementById('#found').value="test"; #for test
        } #doesn't populate with new text. 
          #I want selected data to go here in the 'found' element id
  });
});
</code></pre>

<p>Ruby/html - </p>

<pre><code>&lt;%= text_field_tag :found, nil, :maxlength =&gt; 11, :size =&gt; 20%&gt;
&lt;input id="found" maxlength="11" name="found" size="20" type="text" /&gt;
</code></pre>
