title: How to get the input element triggering the jQuery autocomplete widget?
body: <p>I have several input fields that are enhanced with jQuery auto-complete functionality. How to get the corresponding input field when a select event is triggered?</p>
  
  <pre><code>&lt;input name="1" value=""&gt;
  &lt;input name="2" value=""&gt;
  &lt;input name="3" value=""&gt;
  
  $('input[type=text]').autocomplete({
      source: 'suggestions.php',
      select: function(event, ui) {
          // here I need the input element that have triggered the event
      }
  });
  </code></pre>