reload page after ajax success jquery

How do I reload the page after success or failure ajax call? You will need both reloadPage and allowSamePageTransition . The location object contains information about a URL (see the URL of this page in the browsers address bar). If I open the page ([domain]/login) and hit the Submit Button the first two XHR occur of which the first one is correct. I prefer this way The second way to refresh is to use partial loading and it loads only those areas that have been changed. If I am deleting images as items, I wanted it to look prettier, with loading bar and detaching image by image while deleting, and then reload after completion. contentType:'application/json;charset=utf-8', ,

reload page after ajax success jquery