I am looking for examples on how to implement jquery's autocomplete via zend framework 2.
Based on my previous experiences with autocomplete using java and coldfusion, the http response must be only the JSON data. but Zend would normally attach a layout HTML (as defined by the module config). I was thinking of using an empty layout file (contents would be content; ?>) but I'm not sure if this is the correct (i.e. Zend way) of doing this.
I've been searching the net but can't find anything useful.
Can you please help with examples/links/etc? thanks