jquery Autocomplete

admin2025-04-26  9

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 ?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745658457a312592.html

最新回复(0)