Refresh Page Using Jquery. The optional true parameter passed to the method is used to force the page to load from the server and ignore the browser cache. You can reload content div using.
So you need to store a cookie. This method optionally accepts a Boolean parameter true or You can also do the same thing with plain JavaScript. To refresh a page on button click using jQuery, you have to use location.reload().
JavaScript refresh page: useful tips on using location.reload method in your code.
After page load, you delete the cookie by using the following trigger.
You don't need jQuery for this. In this video I show you how to update a page without refreshing using jQuery and JSON objects. Since there are comments posted code behond function calling using JQuery but page is refreshing.