Version 0.5 of term choose widget.
- Remove all old autocomplete reference.
- Remove no.conflict trick .
- Add jquery.autocomplete.js from http://www.pengoworks.com/workshop/jquery/lib/jquery.autocomplete.js
- add input & jquery form http://blog.philipbrown.id.au/2008/10/jquery-ajax-autocomplete-with-json-data/
- adapt to the labels in your json data
- 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.
- try simple ajax: http://www.geonames.org/export/ajax-postalcode-autocomplete.html @ http://localhost:8080/ontocat/version0.6/test.html
- http://www.beauscott.com/examples/autocomplete/doc/examples.html @ http://localhost:8080/ontocat/scriptaculous/autocomplete/doc/examples.html
- Added at version 6 autocomplete library. Double click on first input, appears on second.
- Another test at http://localhost:8080/ontocat/scriptaculous/autocomplete/doc/examples.html
Last modified 14 years ago
Last modified on 2010-10-01T23:19:13+02:00