Reloading page in $.post 'done' callback not working

Hi All.

Within the ‘success’ callback of a $.post call - I’m trying to reload the current page (here’s a pastie ->

My ‘post’ call works and now I’d like to refresh the page. Please help. (I realize that refreshing the page is not ideal - but its a very ‘light’ page :slight_smile: ).

Thx Dave

If you have a call to set the location, followed by a location.reload, what URL do you suppose the second one will use? Try commenting out that reload, and see if it works then.


Have you checked the value of response.status ? I thought those were http status codes rather than strings