I can catch the event on the server side (so the call is working), I return this (as a test) :
return "[{ id: 1, name: 'John'}, { id: 2, name: 'Alex'}, { id: 3, name: 'Terry'}]";
But nothing happens.
I try to use "preProcess" option, but the function is never call.
Hi,
I try to use ajax typeahead with an ajax call.
Here's the code :
ajax: { url: "/myurl", triggerLength: 1, method: "post" }
I can catch the event on the server side (so the call is working), I return this (as a test) :
return "[{ id: 1, name: 'John'}, { id: 2, name: 'Alex'}, { id: 3, name: 'Terry'}]";
But nothing happens.
I try to use "preProcess" option, but the function is never call.
Any idea ?
Thanks