I assume you mean a redirect from within the browser, after recieving
the ajax response and evaluating the retrieved data.
In that case you must set the window.location object in your
javascript. In the view you could do smthg like that:

<script>
//... your callback code here
window.location.href = {{=URL("way2go.html")}};
</script>



On 14 Nov., 10:23, leone <handja...@gmail.com> wrote:
> Hi all,
> how can I use redirect() inside a ajax callback?
> Thanks in advance
> leone

Reply via email to