I have a form which collects information from users and save it in database. So when the save button is clicked, it sends the serialized form data using jquery ajax post to php page and save it in the database. What I am trying to do is, I want to mimic the ajax call something like full browser refresh. That is, Once the data saved, I want to return the url of the newly saved widget from php and change/update browser url. Below is the sample code, is it really possible to update the browser url manually?
var result = jQuery.parseJSON(data);
var redirect = decodeURIComponent(result['redirect']);