The reload() function takes an optional parameter that can be set to true to force a reload from the server rather than the cache. Since window.location.reload(true) has been deprecated, changing location.reload(true) to location.reload() to resolve this issue. Also, you can use:
window.location.href = window.location.href;
There are multiple ways to Refresh/Reload a page with jQuery/JavaScript, some are:
location.replace(location.pathname)
window.location = window.location
window.self.window.self.window.window.location = window.location
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.