Comment 12 for bug 236947

Revision history for this message
Anand Chitipothu (anandology) wrote : Re: [Bug 236947] Re: search API improvements

> This wraps the json result string in a function call with the name given
> in the callback parameter, e.g.
>
> olresults({"status": "ok", ... })

What are the available callbacks?

> I think the idea is to insert the result directly into the dhtml sent to
> the user's browser so that client side javascript can process it.

client side javascript can also process JSON. I don't think we should
be doing this.