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 should use the location.reload(true), which will release the cache for that specific page and force the page to load as a NEW page.
location.reload(true)
The true parameter forces the page to release it's cache.
true