AutoComplete result function

AutoComplete result function

Hello, 

I have 3 input field with class .product_name_selector and these three are using Jquery Autocomplete. When I select an Item, he just add all the items 3 times in the table, he calls 3 times the function result, how can I said that he must just call it ones? 

Here is my code at the moment http://pastie.org/920956