I\'m using Twitter\'s typeahead plugin for autocompletion with a text input. I want to change the behavior so that instead of putting the selected option\'s value into the t
Same as @Nate's answer except in version (0.11.1), the event is called typeahead:close not typeahead:closed and the only parameter is the event:
typeahead:close
typeahead:closed
$("#input").typeahead( // ... ) .on('typeahead:close', function (evt) { console.log(evt); $(obj.currentTarget).val(""); });