Auto Complete Validation

Auto Complete Validation

Scenario:- I want to populate a text box with any one of the given values only. And for this purpose I am using jquery auto complete plugin which works like :-

Example:- First enter three characters into text box. After entering first three characters in a text box a list gets opened that contains the values beginning with these three letters, then I select any one value from this auto complete list.

Problem:- I want to validate the value of text box, that it is selected from the given values listed by Auto-Complete list. Is there any way by which I can capture the event or a boolean value that is returned when the value of a text box is selected from jquery auto complete list only ?

For more clarification, I have attached one image displaying the UI that I am using.

Thanks n Regards,
Ankita