Re: [web2py] how to redirect from ajax

2012-03-28 Thread Bruno Rocha
On your javascript code you can do. location = url http://zerp.ly/rochacbruno Em 28/03/2012 01:01, weheh richard_gor...@verizon.net escreveu: I'm trying to figure out how the proper syntax to redirect from an ajax call using HTTP(200,Location=URL(...)). The problem is the ajax call points

[web2py] how to redirect from ajax

2012-03-27 Thread weheh
I'm trying to figure out how the proper syntax to redirect from an ajax call using HTTP(200,Location=URL(...)). The problem is the ajax call points to either an id or an :eval. But I want to refresh the entire page -- wiping the slate clean. Is this possible?