George Botros George Botros - 1 year ago 121
Javascript Question

handle selected event in twitter bootstrap Typeahead?

i want to run javascript function just after user select a value using twitter bootstrap Typeahead

i search about some thing like selected event

Answer Source
$('.typeahead').on('typeahead:selected', function(evt, item) {
    // do what you want with the item here
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download