JS Autocomplete

xf_phantom

Well-known member
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"
 
Top Bottom