class="hljs-string">'#autocomplete-example'</span>, {
  <span class="hljs-attr">autocompleteOptions</span>: {
    <span class="hljs-attr">renderer</span>: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">elem, item</span>) </span>{
      hx.select(elem).text(item.name)
    },
    <span class="hljs-attr">inputMap</span>: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">item</span>) </span>{ <span class="hljs-key