0

location.reload()

HOW TO RELOAD PAGE HERE IN SOLOLEARN LOCATION.RELOAD() IS NOT WORKING IS THERE ANY ALTERNATIVES HOW TO RELOAD PAGE

24th Nov 2020, 1:33 PM
Charnyl Adaro
Charnyl Adaro - avatar
1 Answer
+ 1
Use 1) window.location.reload(); 2) window.location.reload(true); 3) location.reload(true); 4) location.href = location.href; 5) history.go(0); Hope it helps.
25th Nov 2020, 4:38 AM
Shaili Shah
Shaili Shah - avatar