0

Alternative for window.location.reload() as it seems to be ineffective in sololearn.

14th Dec 2018, 1:42 PM
suraj patel
4 Respostas
+ 1
While I've not used reload previously, it appears you are calling it wrong. https://www.w3schools.com/jsref/met_loc_reload.asp
15th Dec 2018, 3:48 AM
John Wells
John Wells - avatar
+ 1
history.go(0); The History interface allows manipulation of the browser session history , that is the pages visited in the tab or frame that the current page is loaded in. http://net-informations.com/jq/events/refresh.htm
7th Sep 2020, 4:32 AM
rahul kumar
rahul kumar - avatar
0
tried that too. they dont work in sololearn
16th Dec 2018, 3:40 AM
suraj patel
0
The History interface allows manipulation of the browser session history , that is the pages visited in the tab or frame that the current page is loaded in. There are multiple ways to Refresh/Reload a page with jQuery/JavaScript, some are: location.href = location.href location.replace(location.pathname) window.location = window.location window.self.window.self.window.window.location = window.location http://net-informations.com/jq/events/refresh.htm
1st Jun 2021, 6:54 AM
malcomvx