Greetings people,
i'm giving my best to create proper autocomplete function. But guess what, i'm stuck.
I've managed to create JSON array which gives output like this:
[
{"label":"$name","id":"$id","name":"$name"}
Now i need jquery function that will fill these fields after i search for name in <input name="name">
so id will be hidden field and it should be filled with $id when i select $name in name.
guess html should look like:
<input type="hidden" name="id"><input name="name">
Hope you understood what i wanted any help is very welcome.