I have a jQuery UI Autocomplete textbox which make ajax call to complete the textbox item(from database).
this works good. but the problem is if i type any invalid or unmatched texts its still remains in the textbox. how do i allow only the listed text items?