How to add multiple values in single textbox box field?

I have lookup field to search record so multiple times I am searching the value and adding in another text box field ,How I can add multiples record with commas seprated in single textbox,using javascript?

But I didn’t get any result.


I am not sure what you are trying to do.  If you are trying to search for multiple values on a Lookup field or on the search box on a table, you can do this by checking the box next to the property “Tokenize autocomplete search”.  Then each search term you enter with a space in between will be searched independently and the results aggregated in the list (i.e. search for term1 or term2 or term3).