How to Reload a Page in jQuery?

In this blog, I will show you How to Reload a Page in jQuery?

This is the jquery I am using to refresh the page when a selection has been changed and now I need to keep that selected option after the page is loaded.

The location.reload() method reloads the current URL.

For Example:

$(document).ready(function(){
    $('input').change(function () {
        setTimeout(function(){ 
          location.reload();
        }, 500);
    });
});

Hope this blog is helpful for you ,Thanks for reading this blog.

sexpoundsofttechsolution

How to Reload a Page in jQuery?

How to Reload a Page in jQuery?