请问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