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