Autocomplite how find data in differents fields

Autocomplite how find data in differents fields

Good day.

For example I have array
  1. var data = [{'id':1,'name':'test', 'desc':'other'},{'id':1,'name':'test', 'desc':'other'},{'id':1,'name':'test', 'desc':'other'}];
How use jQuery autocomplite find need value by several fields? For example in 'name' and 'desc'.
Thanks.