How to avoid duplication of values in jquery fcbkcomplete?

I have added fcbkcomplete for selecting multiple options in my project as per the client requirement. The multiple selection is for product selection. Once the product is selected, it shouldn’t appear again in the dropdown, as it could make duplication while adding products.

For example.
We have 5 products. i.e. Television, Refrigerator,Computer,Keyboard and Mouse in our database and its shown in the fcbkcomplete dropdown for multiple selection.

Lets assume the user want to select Television and Computer and selects Television from the dropdown and attempts to add Computer. I don’t want television to be displayed again for selection as its already selected. Please help me to do it with Fcbkcomplete.

Demo : http://www.emposha.com/demo/fcbkcomplete/

newest questions tagged jquery – Stack Overflow

About Admin