adding initial code for backend-part of autocompleter

including test-code
This commit is contained in:
Thomas Pointhuber 2014-03-20 10:28:24 +01:00
parent b5c695c6f5
commit 8abf4ab993
2 changed files with 19 additions and 2 deletions

View file

@ -1,8 +1,7 @@
window.addEvent('domready', function() {
new Autocompleter.Request.JSON('q', '/', {
new Autocompleter.Request.JSON('q', '/autocompleter', {
postVar:'q',
postData:{
'autocompleter': 1,
'format': 'json'
},
ajaxOptions:{