Well I am not sure if this is the best way to do but I achieved by adding a new ftl ajaxAutocompleteOptionsJson.ftl (in place of ajaxAutocompleteOptions.ftl ) , modified it to return just the data and set the content-type="application/json" in my controller.xml view-map
On Tue, Mar 5, 2013 at 2:30 PM, Deepak Agarwal <[email protected]> wrote: > Current autocomplete is returning a html. How can I get it as json. > > -- > Thanks, > Deepak Agarwal, > > Mobile: +91 9501190044 -- Thanks, Deepak Agarwal, Mobile: +91 9501190044
