I have a button which loads after a ajax call , on clicking i want to reload the page (like i press f5)
I tried
$( ".delegate_update_success" ).click(function() {
location.reload();
});
but it does a simple refresh, but my page does not makes a new request to get the contents. It should happen just like I am entering URL to get that page.