• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

JS Autocomplete

xf_phantom

Well-known member
#1
Is there any way to use the returned string as value?

I'm returning
Code:
{"results":["Foo","Foo2","Foo3"
and when i click on the result to insert it into the autocomplete field, it just inserts the current results index into the inputfield.

To save traffic:cool: i want to avoid to return because it's IMO useless:p
Code:
{"results":{"Foo":"Foo","Foo2":"Foo2"