VBBRett
asked on
How to Pull a property from JSON and make it an autocomplete input box
I am trying to make an autocomplete input list box in Jquery. What I am a little lost on is that I am pointing to a JSON file from a RESTful url, the JSON file that is produced has a list and each record has more than one property. Let's say I am trying to use employee last names and the department Id as a filter. How could I filter and grab only the employee last names? The JSON includes the first name, the employeeid, the last name and the department id for each record.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check the example carefully, you will JSON array
ASKER
OK, taking a look and will report back.
ASKER
Is there a way to store the records into an array so that I could use the autocomplete Jquery function?
you mean you loose and go another direction ?
ASKER