Thank you very much. This is working. But it should happen after klicking on a result and not while typing. Now I try to find the position in the code where the "clicking event" is written and I can insert this. I think its somewhere in the jquery.autocomplete.js .
Thank you! On 22 Dez., 15:55, MorningZ <morni...@gmail.com> wrote: > function formatItem(row) { > window.location = row[1]; //Send the user to URL 'row[1]' > > } > > On Dec 22, 7:33 am, Axel <seemann-ka...@web.de> wrote: > > > Hello Everbody, > > > i´m using "jquery autocomplete" on my site. In row [1] i put values > > for building urls - and when I klick on it I want to move to the URL - > > and not to autocomplete the input field (what is the originally > > purpose of the autocomplete). So I want the suggested Items to have a > > normal "<a href>-behavior". > > > function formatItem(row) { > > return "<a href='" + row[1] + "'>"+ row[0] + "</a>"; > > > } > > > Hoping someone has an easy solution. > > > Axel