views:

1040

answers:

2

How do I fire another event after I have completed the selection on the textbox that has autocomplete. I want to show a valid div area based on the selected value.

A: 

Which autocomplete plugin are you using?

Spencer Ruport
I am using bassiatance autocomplete.
Greens
+2  A: 

Assuming you're talking about jQuery UI autocomplete, then like this:

$('#autocomplete').result(function(event, data, formatted) {
     alert('Someone picked a suggestion from the drop-down');
});

That is to say, the "result" method fires.

See http://docs.jquery.com/UI/Autocomplete/autocomplete#options

karim79