-1
{"LastName":"Micheal","FirstName":"John"}

I have a Json data. When i type my last name or a single character in my text field, it should search this value... and get me the response.

My json data is stored in a file and i am able to read it and get into in a variable too... from there... i am not able too

1 Answer 1

1

it's called autocomplete, you need a database for looking the data retrieve, and the js/jquery methods for comparison and searching into the data

Sign up to request clarification or add additional context in comments.

4 Comments

My json data is stored in a file and i am able to read it and get into in a variable too... from there... i am not able too
I am able to fetch the data, but not able to sort the results according to lastname... if you can show me an example it would be great... thanks
@theJava: please always show what you have so far, so we can make suggestions. Not to offend you, but we're not here to write your code.
@theJava: BTW, if you want to sort results in an array containing objects like you showed in your question, have a look at stackoverflow.com/questions/5421253/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.