SHARE
TWEET

Untitled

a guest Sep 13th, 2017 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Doesn't work */
  2. $('#search_q > input[type=text]').autocomplete({
  3.         source: '/ajax/json/autocomplete'
  4. });
  5.  
  6. /* Works well */
  7. $('#search_q > input[type=text]').autocomplete({
  8.         source: ["AAA", "AAB", "AAC"]
  9. });
RAW Paste Data
Top