I want to create keyup search in Array which contains Names using JavaScript. My arrray is like,
[
{
"first_name": "abc",
"account_id": 1
},
{
"first_name": "Test",
"account_id": 2
},
{
"first_name": "Hasad",
"account_id": 3
}
]
When user add text to text box like,
User input: a
Output: abc, Hasad
This should be work like search using sql query in database. Please help me with this.