I am using AJAX action after getting the response, I want to reload the current page, for which I am using:
window.location.reload();
It w
If you are working with AJAX, you have to do the reload inside the success function.
$.ajax({ type: 'POST', data: '', url: '', success: function(data){ setTimeout(function(){ window.location.reload(); },100); }, error: function(){ }