Changes between Initial Version and Version 1 of DespoinaLog/2010/03/19


Ignore:
Timestamp:
2010-10-01T23:19:13+02:00 (14 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2010/03/19

    v1 v1  
     1=== Version 0.5 of term choose widget. ===
     2 * Remove all old autocomplete reference.
     3 * Remove no.conflict trick .
     4 * Add jquery.autocomplete.js from  http://www.pengoworks.com/workshop/jquery/lib/jquery.autocomplete.js
     5 * add input & jquery form http://blog.philipbrown.id.au/2008/10/jquery-ajax-autocomplete-with-json-data/
     6   * http://www.pengoworks.com/workshop/jquery/autocomplete.htm
     7   * http://stackoverflow.com/questions/1592048/jquery-autocomplete-with-json-response
     8
     9 1. adapt to the labels in your json data
     10 1. adapt function makeUrl  in jquery.autocomplete.js:
     11
     12 * var url = options.url + "?q=" + encodeURI(q);
     13
     14 * var url = options.url + encodeURI(q);
     15
     16Problem in retrieving data : data.split is not a function : (according to http://stackoverflow.com/questions/1592048/jquery-autocomplete-with-json-response)
     17
     18the problem is with that we are working with an object, split is a function of type Array. – karim79 Oct 20 at 1:54
     19
     20=== Version 0.6 of term choose widget. ===
     21 * try simple ajax: http://www.geonames.org/export/ajax-postalcode-autocomplete.html @ !http://localhost:8080/ontocat/version0.6/test.html
     22 * http://www.beauscott.com/examples/autocomplete/doc/examples.html @ http://localhost:8080/ontocat/scriptaculous/autocomplete/doc/examples.html
     23 * Added at version 6 autocomplete library. Double click on first input, appears on second.
     24 * Another test at !http://localhost:8080/ontocat/scriptaculous/autocomplete/doc/examples.html