wiki:DespoinaLog/2010/03/19

Version 1 (modified by trac, 14 years ago) (diff)

--

Version 0.5 of term choose widget.

  1. adapt to the labels in your json data
  2. adapt function makeUrl in jquery.autocomplete.js:
  • var url = options.url + "?q=" + encodeURI(q);
  • var url = options.url + encodeURI(q);

Problem in retrieving data : data.split is not a function : (according to http://stackoverflow.com/questions/1592048/jquery-autocomplete-with-json-response)

the problem is with that we are working with an object, split is a function of type Array. – karim79 Oct 20 at 1:54

Version 0.6 of term choose widget.