請問typeahead 要如何藉由query來存取 JSONP?
另外,我甚至連
<script>
$('.typeahead').typeahead({
source: function (inputquery, process) {
return process(["aaa", "abb", "acc", "aa"]);
// return ["aaa", "abb", "acc", "aa"];
}
});
</script>
<input type="text" name="name" class="form-control typeahead" placeholder="Blah">
也無法正常運作,請問各位要如何解決阿OTZ
stackoverflow發問網址:
http://stackoverflow.com/questions/31247490/twitter-typeahead-dynamic-source-from-parse-com
補上我的Solution: http://git.io/vqELF