jquery Autocomplete

I know somewhere is answer but i search everywhere.

I have json-server with large data http://localhost:3004/kody

Data looks like this:

[
  {
    "name": "something",
    "postCode": "something"
  },
  {
    "name": "something",
    "postCode": "something"
}
]

now i want to do something like:

when i search in first input by name it display name and postCode in one line: name: something (postCode: something)

And when i click it populate first input with postCode and 2nd input with name.

Can someone help me ?

Topic jquery-ui jquery autocomplete Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.