how to load a function when reload in jquery code example
Example: how to completely reload page in jquery
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);