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
You can also use window.location.href=window.location.href;
window.location.href=window.location.href;