Hi Jose, just replace the "location.href = item.url" code with window.open(item.url).
Jörn On Wed, May 7, 2008 at 5:50 PM, Jose <[EMAIL PROTECTED]> wrote: > Hi, > > Is Chris approach documented anywhere ? It would be useful to be able to > open a new window too. > > I did have this requirement when I first found the autocomplete library last > year. I ended up writing my own autocomplete solution to meet the > requirements. Let me know if you plan to develop a better solution as I'd > rather use your Jörn library > > regards > jose > > > > > On Wed, May 7, 2008 at 11:27 AM, Jörn Zaefferer > <[EMAIL PROTECTED]> wrote: > > > > I've documented my approach here: > > http://docs.jquery.com/Plugins/Autocomplete#Search_Page_Replacement > > > > Jörn > > > > > > > > > > On Sat, May 3, 2008 at 10:23 AM, theintoy <[EMAIL PROTECTED]> wrote: > > > > > > Jörn > > > > > > Hi. > > > > > > I would appreciate your solution too. Having checked the solution > > > provided by Chris across all browsers, it appears IE7 throws an alert > > > with the following text: > > > "Can't move focus to the control because it is invisible, not enabled, > > > or of a type that does not accept the focus." > > > > > > I have assumed this is due to the textfield being made read-only. This > > > was a nice touch by Chris and one which would be nice to keep in. > > > > > > Any ideas? > > > > > > Carl > > > > > > >