HTML, CSS, JavaScript
Typeahead Source Not Populating on 3rd Character Forward
Hi All, This is a WTF issue... I have an AjaxJson typeahead search box on my home page. It never works on the third character moving forward. If I backspace from 4 to 3 characters it does work. It works on 1, 2, 4, etc...
I can see that the json result set to the source properly, it just does not display, wtf... Am I missing something obvious? Thanks, Craig
ajaxJson("/api/unit/search/" + encodeURIComponent(this.value), null,
function (result) {
$inputu.data('typeahead').source = **result**;
}, null, { method: "GET" });