Hi,
   i'm using the autocomplete plugin here (http://docs.jquery.com/
Plugins/Autocomplete) and want to be able to use it with a remote URL,
while at the same time having access to have text displayed one way,
and selected another way (ie display a piece of text, but then change
what is entered into the input box once it's selected)

with local data you can do this:
var data = [ {text:'Link A', url:'/page1'}, {text:'Link B', url: '/
page2'} ];
formatItem: function(item) {
    return item.text;
  }

but how do I do this for a remote URL?  the remote server is supposed
to return a bunch of matches separated by newline characters, but how
do I embed multiple fields in the results?

thanks!

Reply via email to