After making an ajax call to a certain url I am returned data in the form of a json object of the format:
{"feild1":["val1","val2","val3",...,"valn"],
 "feild2":["vala","valb","valc",...,"valx"]}
I want to combine the values of feild1 and feild2 so that I have a single array of the type :
["val1","val2","val3",...,"valn","vala","valb","valc",...,"valx"]
So I can send this single array to the response function for autocomplete. If I send data.feild1 and then data.feild2 then values of data.feild2 only show up in the drop down.
 
     
     
     
     
    