Thursday, June 19, 2014

Using Enter Key With Typeahead.js - Javascript

https://github.com/twitter/typeahead.js/issues/255

If your text input with typeahead.js is not letting you use the enter key, you need to add a submit button (if you don't already have one).

You can hide it if you want:
<input type="submit" value="Submit" style="display: none">

No comments:

Post a Comment